mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-15 07:54:17 +01:00
feat(profile): improve xfce related profiles
This commit is contained in:
parent
2c192dfab1
commit
7603ac33d0
@ -7,7 +7,7 @@ abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{lib}/@{multiarch}/xfce4/notifyd/xfce4-notifyd
|
||||
@{exec_path} = @{lib}/{,@{multiarch}/}xfce4/notifyd/xfce4-notifyd
|
||||
profile xfce-notifyd @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/fontconfig-cache-read>
|
||||
@ -17,5 +17,8 @@ profile xfce-notifyd @{exec_path} {
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
owner @{user_cache_dirs}/xfce4/notifyd/ rw,
|
||||
owner @{user_cache_dirs}/xfce4/notifyd/** rwk,
|
||||
|
||||
include if exists <local/xfce-notifyd>
|
||||
}
|
||||
|
@ -7,20 +7,19 @@ abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{lib}/xfce4/xfconf/xfconfd
|
||||
@{exec_path} += @{lib}/@{multiarch}/xfce4/xfconf/xfconfd
|
||||
@{exec_path} = @{lib}/{,@{multiarch}/}xfce4/xfconf/xfconfd
|
||||
profile xfconfd @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/xfce>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
/etc/xdg/xfce4/xfconf/*/*.xml r,
|
||||
/etc/xdg/xfce4/xfconf/** r,
|
||||
|
||||
owner @{HOME}/ r,
|
||||
|
||||
owner @{user_config_dirs}/xfce4/ r,
|
||||
owner @{user_config_dirs}/xfce4/xfconf/*/*.xml{,.new} rw,
|
||||
owner @{user_config_dirs}/xfce4/xfconf/{,**} rw,
|
||||
|
||||
owner /dev/tty@{int} rw,
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user