Skip to content

Commit

Permalink
feat(profile): some cleanup in thunderbird.
Browse files Browse the repository at this point in the history
  • Loading branch information
roddhjav committed Nov 29, 2023
1 parent 5af4d3c commit fe0cb4b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions apparmor.d/profiles-s-z/thunderbird
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ include <tunables/global>
profile thunderbird @{exec_path} {
include <abstractions/base>
include <abstractions/audio>
include <abstractions/dbus-gtk>
include <abstractions/bus/atspi>
include <abstractions/dbus-session-strict>
include <abstractions/dbus-strict>
include <abstractions/dconf-write>
Expand Down Expand Up @@ -53,9 +53,9 @@ profile thunderbird @{exec_path} {
member=RequestName
peer=(name=org.freedesktop.DBus),

dbus send bus=system path=/org/freedesktop/RealtimeKit[0-9]*
dbus send bus=system path=/org/freedesktop/RealtimeKit1
member={Get,MakeThreadHighPriority,MakeThreadRealtime}
peer=(name=org.freedesktop.RealtimeKit[0-9]*),
peer=(name=org.freedesktop.RealtimeKit1*),

dbus send bus=system path=/org/freedesktop/UPower
interface=org.freedesktop.UPower
Expand All @@ -72,8 +72,8 @@ profile thunderbird @{exec_path} {
member=Read
peer=(name=:*),

dbus receive bus=system path=/org/freedesktop/login[0-9]*
interface=org.freedesktop.login[0-9]*.Manager
dbus receive bus=system path=/org/freedesktop/login1*
interface=org.freedesktop.login1*.Manager
member={UserAdded,UserRemoved}
peer=(name=:*, label=systemd-logind),

Expand Down Expand Up @@ -117,18 +117,18 @@ profile thunderbird @{exec_path} {
@{lib}/firefox{,.sh,-esr,-bin}/firefox{,.sh,-esr,-bin} rPx,
/opt/firefox{,.sh,-esr,-bin}/firefox{,.sh,-esr,-bin} rPx,

/usr/share/@{name}/{,**} r,
/usr/share/gvfs/remote-volume-monitors/{,*} r,
/usr/share/lightning/{,**} r,
/usr/share/mozilla/extensions/{,**} r,
/usr/share/qt5ct/** r,
/usr/share/sounds/freedesktop/stereo/*.oga r,
/usr/share/thunderbird/{,**} r,
/usr/share/xul-ext/kwallet5/* r,

/etc/@{name}/{,**} r,
/etc/fstab r,
/etc/mailcap r,
/etc/mime.types r,
/etc/thunderbird/{,**} r,
/etc/timezone r,
/etc/xul-ext/kwallet5.js r,

Expand Down

0 comments on commit fe0cb4b

Please sign in to comment.