diff --git a/apparmor.d/profiles-m-r/pulseaudio b/apparmor.d/profiles-m-r/pulseaudio index d4c7f898..b86869c2 100644 --- a/apparmor.d/profiles-m-r/pulseaudio +++ b/apparmor.d/profiles-m-r/pulseaudio @@ -1,5 +1,6 @@ # apparmor.d - Full set of apparmor profiles # Copyright (C) 2017-2021 Mikhail Morfikov +# Copyright (C) 2022 Alexandre Pujol # SPDX-License-Identifier: GPL-2.0-only abi , @@ -66,9 +67,10 @@ profile pulseaudio @{exec_path} { @{sys}/devices/system/node/ r, @{sys}/devices/system/node/node[0-9]/meminfo r, - @{run}/systemd/users/@{uid} r, + owner @{run}/user/@{uid}/dconf/ w, + owner @{run}/user/@{uid}/dconf/user rw, - @{run}/user/@{uid}/dconf/user rw, + @{run}/systemd/users/@{uid} r, @{run}/user/@{uid}/ICEauthority r, owner @{PROC}/@{pid}/fd/ r,