diff --git a/apparmor.d/groups/apps/imv-wayland b/apparmor.d/groups/apps/imv-wayland index 121459d8c..df4f2e201 100644 --- a/apparmor.d/groups/apps/imv-wayland +++ b/apparmor.d/groups/apps/imv-wayland @@ -20,7 +20,7 @@ profile imv @{exec_path} { /usr/share/X11/xkb/** r, /tmp/ r, - owner @{user_config_dirs}/imv/config + owner @{user_config_dirs}/imv/config r, owner @{HOME}/ r, owner @{HOME}/[^.]** r, @@ -28,7 +28,7 @@ profile imv @{exec_path} { owner /mnt/** r, owner /media/** r, - owner @{run}/user/*/imv-*.sock w, + owner @{run}/user/@{uid}/imv-*.sock w, include if exists } diff --git a/apparmor.d/groups/apps/zathura b/apparmor.d/groups/apps/zathura index b479f04fb..e06d57f6d 100644 --- a/apparmor.d/groups/apps/zathura +++ b/apparmor.d/groups/apps/zathura @@ -13,10 +13,12 @@ profile zathura @{exec_path} { include include include + include @{exec_path} mr, - /usr/share/{,**} r, + /usr/share/file/{,**} r, + /usr/share/X11/xkb/{,**} r, /etc/xdg/{,**} r, /etc/zathurarc r,