From 6618037b84070d577e809969d6cfabc7f6052eaf Mon Sep 17 00:00:00 2001 From: valoq Date: Tue, 6 Feb 2024 21:22:44 +0100 Subject: [PATCH] fix minor issues --- apparmor.d/groups/apps/imv-wayland | 4 ++-- apparmor.d/groups/apps/zathura | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) 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,