diff --git a/apparmor.d/profiles-a-f/flameshot b/apparmor.d/profiles-a-f/flameshot index ecf9ef90c..666245156 100644 --- a/apparmor.d/profiles-a-f/flameshot +++ b/apparmor.d/profiles-a-f/flameshot @@ -11,6 +11,7 @@ include profile flameshot @{exec_path} { include include + include include include include @@ -35,13 +36,13 @@ profile flameshot @{exec_path} { /var/lib/dbus/machine-id r, /etc/machine-id r, - /usr/share/flameshot/translations/* r, + /usr/share/flameshot/{,**} r, - owner @{user_config_dirs}/dconf/user r, + owner @{user_cache_dirs}/flameshot/ rw, + owner @{user_cache_dirs}/flameshot/** rw, 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 @{user_config_dirs}/ibus/bus/@{hex32}-unix-{,wayland-}@{int} r, owner @{tmp}/*= rw, owner @{tmp}/*.png rw,