feat(abs): freedesktop: add more path for recently-used files.

see #811
This commit is contained in:
Alexandre Pujol 2025-08-15 10:30:43 +02:00
parent 10e57f01a6
commit e09586e01d
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
6 changed files with 5 additions and 7 deletions

View file

@ -23,4 +23,9 @@
owner @{HOME}/.icons/{,**} r,
owner @{user_share_dirs}/#@{int} rw,
owner @{user_share_dirs}/recently-used.xbel rw,
owner @{user_share_dirs}/recently-used.xbel.@{rand6} rwl,
owner @{user_share_dirs}/recently-used.xbel.lock rwk,
# vim:syntax=apparmor

View file

@ -36,7 +36,6 @@ profile gnome-tweaks @{exec_path} flags=(attach_disconnected) {
owner @{user_config_dirs}/gtk-{3,4}.0/settings.ini* rw,
owner @{user_share_dirs}/backgrounds/{,**} r,
owner @{user_share_dirs}/gnome-shell/extensions/**/schemas/* r,
owner @{user_share_dirs}/recently-used.xbel* rw,
@{run}/udev/data/+input:input@{int} r, # for mouse, keyboard, touchpad
@{run}/udev/data/c13:@{int} r, # for /dev/input/*

View file

@ -71,8 +71,6 @@ profile gsd-media-keys @{exec_path} flags=(attach_disconnected) {
owner @{GDM_HOME}/greeter-dconf-defaults r,
owner @{gdm_config_dirs}/dconf/user r,
owner @{user_share_dirs}/recently-used.xbel{,.*} rw,
@{att}/@{run}/systemd/inhibit/@{int}.ref rw,
@{run}/udev/data/+sound:card@{int} r, # For sound card

View file

@ -74,7 +74,6 @@ profile dolphin @{exec_path} {
owner @{user_share_dirs}/dolphin/ rw,
owner @{user_share_dirs}/dolphin/** rwkl -> @{user_share_dirs}/dolphin/#@{int},
owner @{user_share_dirs}/recently-used.xbel{,.*} rwlk,
owner @{user_state_dirs}/dolphinstaterc{,.*} rwlk,
owner @{user_config_dirs}/#@{int} rw,

View file

@ -38,7 +38,6 @@ profile kactivitymanagerd @{exec_path} {
owner @{user_share_dirs}/kactivitymanagerd/{,**} rwlk,
owner @{user_share_dirs}/kservices{5,6}/{,**} r,
owner @{user_share_dirs}/recently-used.xbel r,
owner @{user_share_dirs}/user-places.xbel r,
owner @{run}/user/@{uid}/#@{int} rw,

View file

@ -69,8 +69,6 @@ profile okular @{exec_path} {
owner @{user_share_dirs}/kxmlgui{5,6}/okular/{,*} r,
owner @{user_share_dirs}/okular/ rw,
owner @{user_share_dirs}/okular/** rwlk -> @{user_share_dirs}/okular/**,
owner @{user_share_dirs}/recently-used.xbel.@{rand6} rwl -> @{user_share_dirs}/#@{int},
owner @{user_share_dirs}/recently-used.xbel.lock rk,
owner @{user_share_dirs}/user-places.xbel r,
owner @{user_state_dirs}/#@{int} rw,