feat(profile): cleanup flatpak share access.

This commit is contained in:
Alexandre Pujol 2024-05-05 18:17:52 +01:00
parent 0ffd70319b
commit 89f896a0fd
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
11 changed files with 7 additions and 26 deletions

View file

@ -14,13 +14,9 @@ profile gtk-update-icon-cache @{exec_path} flags=(attach_disconnected) {
@{exec_path} mr,
/usr/share/icons/** r,
/usr/share/icons/**/.icon-theme.cache rw,
/usr/share/icons/**/icon-theme.cache rw,
/var/lib/flatpak/exports/share/icons/{,**/} r,
/var/lib/flatpak/exports/share/icons/hicolor/.icon-theme.cache rw,
/var/lib/flatpak/exports/share/icons/hicolor/icon-theme.cache w,
@{system_share_dirs}/icons/{,**/} r,
@{system_share_dirs}/icons/**/.icon-theme.cache rw,
@{system_share_dirs}/icons/**/icon-theme.cache w,
owner @{user_share_dirs}/** r,
owner @{user_share_dirs}/**/.icon-theme.cache rw,