fix: signal-desktop (#195)

issue: https://github.com/roddhjav/apparmor.d/issues/194
This commit is contained in:
Cyril Levis 2023-08-14 17:55:02 +02:00 committed by GitHub
parent a2c35b07a5
commit b49bd32564
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ include <tunables/global>
#@{exec_path} = @{SIGNAL_INSTALLDIR}/signal-desktop{,-beta} # (#FIXME#) #@{exec_path} = @{SIGNAL_INSTALLDIR}/signal-desktop{,-beta} # (#FIXME#)
@{exec_path} = "/opt/Signal{, Beta}/signal-desktop{,-beta}" # (#FIXME#) @{exec_path} = "/opt/Signal{, Beta}/signal-desktop{,-beta}" # (#FIXME#)
profile signal-desktop @{exec_path} { profile signal-desktop @{exec_path} flags=(attach_disconnected) {
include <abstractions/base> include <abstractions/base>
include <abstractions/consoles> include <abstractions/consoles>
include <abstractions/opencl-intel> include <abstractions/opencl-intel>
@ -75,6 +75,9 @@ profile signal-desktop @{exec_path} {
/var/lib/dbus/machine-id r, /var/lib/dbus/machine-id r,
/etc/machine-id r, /etc/machine-id r,
# Allow systemd-inhibit
@{run}/systemd/inhibit/*.ref rw,
# No new privs # No new privs
@{bin}/xdg-settings rPx, @{bin}/xdg-settings rPx,