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

@ -41,8 +41,6 @@ profile ksmserver @{exec_path} flags=(attach_disconnected,mediate_deleted) {
/etc/xdg/kscreenlockerrc r,
/etc/xdg/menus/ r,
/var/lib/flatpak/exports/share/mime/ r,
owner @{HOME}/@{rand6} rw,
owner @{HOME}/.Xauthority rw,

View file

@ -30,8 +30,6 @@ profile ksmserver-logout-greeter @{exec_path} flags=(attach_disconnected) {
/usr/share/plasma/desktoptheme/** r,
/usr/share/plasma/look-and-feel/** r,
/var/lib/AccountsService/icons/ r,
/var/lib/flatpak/exports/share/icons/{,**} r,
/var/lib/flatpak/exports/share/mime/generic-icons r,
owner @{HOME}/ r,

View file

@ -22,8 +22,6 @@ profile kstart @{exec_path} flags=(attach_disconnected) {
@{bin}/** rPUx,
@{bin}/konsole rPx,
/var/lib/flatpak/exports/share/mime/ r,
owner @{user_cache_dirs}/mesa_shader_cache/index rw,
owner @{user_share_dirs}/kservices{5,6}/ r,
owner @{user_share_dirs}/kservices{5,6}/ServiceMenus/ r,

View file

@ -28,8 +28,6 @@ profile plasma-browser-integration-host @{exec_path} {
/etc/xdg/menus/ r,
/etc/xdg/taskmanagerrulesrc r,
/var/lib/flatpak/exports/share/mime/ r,
owner @{user_cache_dirs}/icon-cache.kcache rw,
owner @{user_cache_dirs}/ksycoca{5,6}_* r,

View file

@ -85,7 +85,6 @@ profile plasmashell @{exec_path} flags=(mediate_deleted) {
/etc/xdg/** r,
/var/lib/AccountsService/icons/* r,
/var/lib/flatpak/exports/share/mime/ r,
@{HOME}/ r,
owner @{HOME}/@{XDG_DESKTOP_DIR}/*.desktop r,