diff --git a/apparmor.d/profiles-m-r/mpv b/apparmor.d/profiles-m-r/mpv index a2fc020d..64a6a4b7 100644 --- a/apparmor.d/profiles-m-r/mpv +++ b/apparmor.d/profiles-m-r/mpv @@ -42,8 +42,11 @@ profile mpv @{exec_path} { @{bin}/yt-dlp rPx, /usr/share/libdrm/{,**} r, + /usr/share/pipewire/client-rt.conf r, + /etc/libva.conf r, /etc/mpv/* r, + /etc/pipewire/client-rt.conf.d/{,**} r, /etc/samba/smb.conf r, /etc/machine-id r, @@ -55,7 +58,7 @@ profile mpv @{exec_path} { owner @{user_torrents_dirs}/{,**} rw, owner @{user_videos_dirs}/{,**} rw, - owner @{user_config_dirs}/mpv/ rw, + owner @{user_cache_dirs}/mpv/{,**} rw, owner @{user_config_dirs}/mpv/{,**} rw, /tmp/ r,