diff --git a/apparmor.d/groups/apps/flameshot b/apparmor.d/profiles-a-f/flameshot similarity index 90% rename from apparmor.d/groups/apps/flameshot rename to apparmor.d/profiles-a-f/flameshot index 4e7971cd..68418dc2 100644 --- a/apparmor.d/groups/apps/flameshot +++ b/apparmor.d/profiles-a-f/flameshot @@ -36,10 +36,12 @@ profile flameshot @{exec_path} { /var/lib/dbus/machine-id r, /etc/machine-id r, + owner @{user_config_dirs}/dconf/user r, owner @{user_config_dirs}/flameshot/ rw, owner @{user_config_dirs}/flameshot/** rwlk -> @{user_config_dirs}/flameshot/**, + owner @{user_config_dirs}/ibus/bus/@{hex32}-unix-wayland-0 r, + owner @{run}/user/@{uid}/dconf/user rw, - owner @{tmp}/.*/{,s} rw, owner @{tmp}/*= rw, owner @{tmp}/qipc_{systemsem,sharedmemory}_*@{hex} rw, owner /dev/shm/#@{int} rw, diff --git a/dists/flags/main.flags b/dists/flags/main.flags index 8cbd1bc3..2fd95af2 100644 --- a/dists/flags/main.flags +++ b/dists/flags/main.flags @@ -109,6 +109,7 @@ file-roller complain firefox-kmozillahelper complain firewall-applet attach_disconnected,complain firewall-config complain +flameshot complain flatpak attach_disconnected,mediate_deleted,complain flatpak-app attach_disconnected,mediate_deleted,complain flatpak-oci-authenticator complain