From 1970e14b46baeea5b21630435f299b3a02c01631 Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Sat, 15 Jan 2022 17:31:48 +0000 Subject: [PATCH] Pulseaudio: fix dconf access. Fix #19. --- apparmor.d/profiles-m-r/pulseaudio | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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,