diff --git a/apparmor.d/profiles-s-z/xdg-permission-store b/apparmor.d/profiles-s-z/xdg-permission-store new file mode 100644 index 00000000..74ae1350 --- /dev/null +++ b/apparmor.d/profiles-s-z/xdg-permission-store @@ -0,0 +1,22 @@ +# apparmor.d - Full set of apparmor profiles +# Copyright (C) 2021 Alexandre Pujol +# SPDX-License-Identifier: GPL-2.0-only + +abi , + +include + +@{exec_path} = /{usr/,}lib/xdg-permission-store +profile xdg-permission-store @{exec_path} flags=(attach_disconnected) { + include + + signal (receive) set=(term) peer=gdm, + + @{exec_path} mr, + + @{HOME}/@{XDG_DATA_HOME}/flatpak/db/gnome rw, + + /dev/tty[0-9]* rw, + + include if exists +} \ No newline at end of file