diff --git a/apparmor.d/groups/lxqt/lxqt-leave b/apparmor.d/groups/lxqt/lxqt-leave index 24de0267a..835eef9a5 100644 --- a/apparmor.d/groups/lxqt/lxqt-leave +++ b/apparmor.d/groups/lxqt/lxqt-leave @@ -3,10 +3,12 @@ # Copyright (C) 2024 Besanon # SPDX-License-Identifier: GPL-2.0-only -#include +abi , + +include @{exec_path} = @{bin}/lxqt-leave -profile lxqt-leave @{exec_path} { +profile lxqt-leave @{exec_path} flags=(complain) { include include include @@ -22,11 +24,9 @@ profile lxqt-leave @{exec_path} { /usr/share/libdrm/amdgpu.ids r, - @{sys}/devices/@{pci_bus}/{,**} r, - @{sys}/devices/@{pci_bus}/**/**/** r, - owner /tmp/{,**} r, /dev/tty rw, + include if exists }