feat(profiles): deny gvfs-metadata when possible.

This commit is contained in:
Alexandre Pujol 2022-09-24 17:59:20 +01:00
parent fcee586e9e
commit ae6cecde52
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
23 changed files with 42 additions and 30 deletions

View file

@ -87,7 +87,6 @@ profile update-manager @{exec_path} flags=(attach_disconnected) {
/var/lib/update-manager/{,**} rw,
owner @{user_cache_dirs}/update-manager-core/{,**} rw,
owner @{user_share_dirs}/gvfs-metadata/{,*} r,
owner @{run}/user/@{uid}/wayland-[0-9]* rw,
@ -99,5 +98,7 @@ profile update-manager @{exec_path} flags=(attach_disconnected) {
/dev/ptmx rw,
deny owner @{user_share_dirs}/gvfs-metadata/{,*} r,
include if exists <local/update-manager>
}