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

@ -60,12 +60,11 @@ profile gnome-extension-ding @{exec_path} {
owner @{user_share_dirs}/nautilus/scripts/ r,
owner @{user_share_dirs}/gvfs-metadata/home r,
owner @{user_share_dirs}/gvfs-metadata/home-*.log r,
owner @{PROC}/@{pid}/mounts r,
owner @{PROC}/@{pid}/stat r,
owner @{PROC}/@{pid}/task/@{tid}/stat r,
deny owner @{user_share_dirs}/gvfs-metadata/{,*} r,
include if exists <local/gnome-extension-ding>
}