diff --git a/apparmor.d/groups/freedesktop/pipewire-media-session b/apparmor.d/groups/freedesktop/pipewire-media-session index 48991510..7b92f184 100644 --- a/apparmor.d/groups/freedesktop/pipewire-media-session +++ b/apparmor.d/groups/freedesktop/pipewire-media-session @@ -48,8 +48,8 @@ profile pipewire-media-session @{exec_path} { /var/lib/gdm{3,}/.local/state/pipewire/media-session.d/* rw, - owner @{HOME}/.local/state/ rw, - owner @{HOME}/.local/state/pipewire/{,**} rw, + owner @{user_state_dirs}/ rw, + owner @{user_state_dirs}/pipewire/{,**} rw, owner @{user_config_dirs}/pipewire-media-session/ w, owner @{user_config_dirs}/pipewire/ rw,