From 3dc8bd98a77a62d15f2e4158aaa82e0e7cbcfd12 Mon Sep 17 00:00:00 2001 From: Besanon Date: Wed, 28 Aug 2024 11:30:06 +0200 Subject: [PATCH] Create lxqt-config-appearance --- apparmor.d/groups/lxqt/lxqt-config-appearance | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 apparmor.d/groups/lxqt/lxqt-config-appearance diff --git a/apparmor.d/groups/lxqt/lxqt-config-appearance b/apparmor.d/groups/lxqt/lxqt-config-appearance new file mode 100644 index 000000000..cfbc01d81 --- /dev/null +++ b/apparmor.d/groups/lxqt/lxqt-config-appearance @@ -0,0 +1,42 @@ +# apparmor.d - Full set of apparmor profiles +# Copyright (C) 2024 Alexandre Pujol +# Copyright (C) 2024 Besanon +# SPDX-License-Identifier: GPL-2.0-only + +abi , + +include + +@{exec_path} = @{bin}/lxqt-config-appearance +profile lxqt-config-appearance @{exec_path} { + include + include + include + include + include + include + include + include + include + include + include + include + + @{exec_path} mr, + + @{bin}/gsettings rPx, + @{bin}/pcmanfm-qt rPx, + + owner @{user_config_dirs}/lxqt/ r, + owner @{user_config_dirs}/lxqt/#@{int} rw, + owner @{user_config_dirs}/pcmanfm-qt/lxqt/settings.conf r, + + owner /tmp/#@{int} rw, + owner /tmp/lxqt-config-appearance.@{rand6} rwl -> /tmp/#@{int}, + + /dev/tty rw, + + include if exists +} + +# vim:syntax=apparmor