diff --git a/apparmor.d/abstractions/audio-client b/apparmor.d/abstractions/audio-client index af4adf172..f12e7fcc4 100644 --- a/apparmor.d/abstractions/audio-client +++ b/apparmor.d/abstractions/audio-client @@ -16,7 +16,7 @@ /etc/esound/esd.conf r, /etc/libao.conf r, /etc/openal/alsoft.conf r, - /etc/pipewire/client.conf r, + /etc/pipewire/client{,-rt}.conf r, /etc/pipewire/client.conf.d/{,**} r, /etc/pulse/client.conf r, /etc/pulse/client.conf.d/{,**} r, diff --git a/apparmor.d/profiles-m-r/mpv b/apparmor.d/profiles-m-r/mpv index 058135e83..23aa2b9a1 100644 --- a/apparmor.d/profiles-m-r/mpv +++ b/apparmor.d/profiles-m-r/mpv @@ -64,6 +64,7 @@ profile mpv @{exec_path} { owner @{PROC}/@{pid}/cmdline r, owner @{PROC}/@{pid}/task/ r, + owner @{PROC}/@{pid}/task/@{tid}/comm rw, @{run}/udev/data/+input:input@{int} r, # for mouse, keyboard, touchpad @{run}/udev/data/c13:@{int} r, # for /dev/input/* diff --git a/apparmor.d/profiles-m-r/mutt b/apparmor.d/profiles-m-r/mutt index dd5a85ee2..27060bf3c 100644 --- a/apparmor.d/profiles-m-r/mutt +++ b/apparmor.d/profiles-m-r/mutt @@ -97,7 +97,8 @@ profile mutt @{exec_path} { @{bin}/lynx mrix, owner @{HOME}/.w3m/* rw, - + owner @{user_mail_dirs}/{,**} r, + owner @{user_mail_dirs}/tmp/{,**} rw, owner /{var/,}tmp/mutt* rw, include if exists diff --git a/apparmor.d/tunables/home.d/apparmor.d b/apparmor.d/tunables/home.d/apparmor.d index 7a3ee5690..5b8204163 100644 --- a/apparmor.d/tunables/home.d/apparmor.d +++ b/apparmor.d/tunables/home.d/apparmor.d @@ -21,7 +21,7 @@ @{XDG_VM_DIR}=".vm" @{XDG_VM_SHARES_DIR}="VM_Shares" @{XDG_IMG_DIR}="images" -@{XDG_MAIL_DIR}="Mail" +@{XDG_MAIL_DIR}="Mail" ".{m,M}ail" @{XDG_SCREENSHOTS_DIR}="Pictures/Screenshots" @{XDG_WALLPAPERS_DIR}="Pictures/Wallpapers"