feat(profile): use the kde-globals-write abstaction when needed.

This commit is contained in:
Alexandre Pujol 2024-08-28 18:43:34 +01:00
parent 1655a9f5ab
commit f9169bc40b
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
5 changed files with 6 additions and 14 deletions

View file

@ -11,6 +11,7 @@ include <tunables/global>
profile xdg-desktop-portal-kde @{exec_path} {
include <abstractions/base>
include <abstractions/graphics>
include <abstractions/kde-globals-write>
include <abstractions/kde-strict>
include <abstractions/nameservice-strict>
@ -30,10 +31,8 @@ profile xdg-desktop-portal-kde @{exec_path} {
owner @{user_cache_dirs}/icon-cache.kcache rw,
owner @{user_config_dirs}/#@{int} rw,
owner @{user_config_dirs}/autostart/org.kde.*.desktop r,
owner @{user_config_dirs}/breezerc r,
owner @{user_config_dirs}/kdeglobals{,.*} rwlk,
owner @{user_config_dirs}/xdg-desktop-portal-kderc{,.*} rwlk,
owner @{run}/user/@{uid}/xdg-desktop-portal-kde@{rand6}.*.socket rw,