diff --git a/apparmor.d/abstractions/audio-server b/apparmor.d/abstractions/audio-server index 8f504e26..676988ed 100644 --- a/apparmor.d/abstractions/audio-server +++ b/apparmor.d/abstractions/audio-server @@ -5,7 +5,9 @@ # Provide access to audio devices. It should only be used by audio servers that # need direct access to them. - include + /usr/share/alsa/{,**} r, + + /etc/alsa/conf.d/{,**} r, @{run}/udev/data/+sound:card@{int} r, # for sound card diff --git a/apparmor.d/profiles-s-z/wireplumber b/apparmor.d/profiles-s-z/wireplumber index d24e8f6b..a1783531 100644 --- a/apparmor.d/profiles-s-z/wireplumber +++ b/apparmor.d/profiles-s-z/wireplumber @@ -35,15 +35,10 @@ profile wireplumber @{exec_path} { /opt/intel/oneapi/{compiler,lib,mkl}/**/ r, /opt/intel/oneapi/{compiler,lib,mkl}/**.so* mr, - /usr/share/alsa/{,**} r, /usr/share/alsa-card-profile/{,**} r, /usr/share/spa-*/bluez@{int}/{,*} r, /usr/share/wireplumber/{,**} r, - /etc/alsa/conf.d/{,**} r, - - /etc/machine-id r, - owner @{desktop_local_dirs}/ w, owner @{desktop_local_dirs}/state/ w, owner @{desktop_local_dirs}/state/wireplumber/{,**} rw,