From f1e3574e2e2b6aacc42074c173e91e143635fde5 Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Sun, 4 Apr 2021 00:34:54 +0100 Subject: [PATCH] media-keys: access to sound settings. --- apparmor.d/groups/gnome/gsd-media-keys | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apparmor.d/groups/gnome/gsd-media-keys b/apparmor.d/groups/gnome/gsd-media-keys index 15fcfdb9..1661c7f8 100644 --- a/apparmor.d/groups/gnome/gsd-media-keys +++ b/apparmor.d/groups/gnome/gsd-media-keys @@ -18,7 +18,9 @@ profile gsd-media-keys @{exec_path} flags=(attach_disconnected) { @{exec_path} mr, /etc/machine-id r, + /var/lib/dbus/machine-id r, + /usr/share/sounds/freedesktop/stereo/*.oga r, /usr/share/gdm/greeter-dconf-defaults r, /usr/share/glib-2.0/schemas/gschemas.compiled r, /usr/share/icons/{,**} r, @@ -26,6 +28,8 @@ profile gsd-media-keys @{exec_path} flags=(attach_disconnected) { owner @{user_config_dirs}/pulse/client.conf r, owner @{user_config_dirs}/pulse/cookie rk, + owner @{HOME}/.cache/event-sound-cache.tdb.* rwk, + /var/lib/gdm/.config/pulse/client.conf r, owner @{run}/user/[0-9]*/pulse/ r,