diff --git a/apparmor.d/groups/apps/imv-wayland b/apparmor.d/groups/apps/imv-wayland index df4f2e201..13b961d8f 100644 --- a/apparmor.d/groups/apps/imv-wayland +++ b/apparmor.d/groups/apps/imv-wayland @@ -13,6 +13,7 @@ profile imv @{exec_path} { include include include + include @{exec_path} mr, @@ -22,11 +23,7 @@ profile imv @{exec_path} { owner @{user_config_dirs}/imv/config r, - owner @{HOME}/ r, - owner @{HOME}/[^.]** r, - - owner /mnt/** r, - owner /media/** r, + owner @{MOUNTDIRS}/{,**} r, owner @{run}/user/@{uid}/imv-*.sock w, diff --git a/apparmor.d/groups/apps/zathura b/apparmor.d/groups/apps/zathura index e06d57f6d..ccf66f4e0 100644 --- a/apparmor.d/groups/apps/zathura +++ b/apparmor.d/groups/apps/zathura @@ -14,6 +14,7 @@ profile zathura @{exec_path} { include include include + include @{exec_path} mr, @@ -25,11 +26,7 @@ profile zathura @{exec_path} { owner @{user_config_dirs}/zathura/** r, owner @{user_share_dirs}/zathura/** rwk, - owner @{HOME}/ r, - owner @{HOME}/[^.]** r, - - owner /mnt/** r, - owner /media/** r, + owner @{MOUNTDIRS}/{,**} r, owner /tmp/gtkprint* rw,