diff --git a/apparmor.d/profiles-s-z/yt-dlp b/apparmor.d/profiles-s-z/yt-dlp index 2c5b6610..45bde475 100644 --- a/apparmor.d/profiles-s-z/yt-dlp +++ b/apparmor.d/profiles-s-z/yt-dlp @@ -28,6 +28,7 @@ profile yt-dlp @{exec_path} { @{bin}/ r, @{bin}/file rix, + @{bin}/uname rix, @{bin}/ffmpeg rPx, @{bin}/ffprobe rPx, @@ -38,8 +39,10 @@ profile yt-dlp @{exec_path} { owner @{user_videos_dirs}/{,**} rwk, owner @{user_cache_dirs}/ rw, - owner @{user_cache_dirs}/yt-dlp/ rw, - owner @{user_cache_dirs}/yt-dlp/** rw, + owner @{user_cache_dirs}/yt-dlp/{,**} rw, + + owner @{user_config_dirs}/ rw, + owner @{user_config_dirs}/yt-dlp/{,**} rw, owner @{PROC}/@{pid}/fd/ r,