diff --git a/apparmor.d/profiles-m-z/pipewire b/apparmor.d/profiles-m-z/pipewire index e90bf484..34412b15 100644 --- a/apparmor.d/profiles-m-z/pipewire +++ b/apparmor.d/profiles-m-z/pipewire @@ -34,8 +34,8 @@ profile pipewire @{exec_path} { /dev/shm/ r, @{run}/shm/ r, /etc/pulse/{,**} r, - owner @{HOME}/.config/pulse/ rw, - owner @{HOME}/.config/pulse/cookie rwk, + owner @{user_config_dirs}/pulse/ rw, + owner @{user_config_dirs}/pulse/cookie rwk, owner @{run}/user/@{uid}/pulse/ r, @{sys}/devices/virtual/dmi/id/product_name r, diff --git a/apparmor.d/profiles-m-z/pipewire-media-session b/apparmor.d/profiles-m-z/pipewire-media-session index 7a234d0f..6037dfd4 100644 --- a/apparmor.d/profiles-m-z/pipewire-media-session +++ b/apparmor.d/profiles-m-z/pipewire-media-session @@ -17,8 +17,8 @@ profile pipewire-media-session @{exec_path} { /etc/pipewire/media-session.d/*.conf r, - owner @{HOME}/.config/pipewire/ rw, - owner @{HOME}/.config/pipewire/** rw, + owner @{user_config_dirs}/pipewire/ rw, + owner @{user_config_dirs}/pipewire/** rw, /dev/snd/controlC[0-9]* rw, /dev/snd/pcmC[0-9]*D[0-9]*p rw, @@ -31,8 +31,8 @@ profile pipewire-media-session @{exec_path} { /dev/shm/ r, @{run}/shm/ r, /etc/pulse/{,**} r, - owner @{HOME}/.config/pulse/ rw, - owner @{HOME}/.config/pulse/cookie rwk, + owner @{user_config_dirs}/pulse/ rw, + owner @{user_config_dirs}/pulse/cookie rwk, owner @{run}/user/@{uid}/pulse/ rw, @{sys}/bus/ r,