feat(profile): ensure nautilus can access root files.
This commit is contained in:
parent
c806ec44eb
commit
f3d209e42a
1 changed files with 9 additions and 8 deletions
|
|
@ -22,14 +22,15 @@ profile gvfsd-admin @{exec_path} {
|
||||||
|
|
||||||
/usr/share/mime/mime.cache r,
|
/usr/share/mime/mime.cache r,
|
||||||
|
|
||||||
@{MOUNTS}/{,**} rw,
|
#aa:lint ignore=too-wide
|
||||||
|
# Full access to system's data, but no write access to sensitive system directories
|
||||||
@{run}/mount/utab r,
|
/ r,
|
||||||
@{run}/user/@{uid}/gvfsd/socket-@{rand8} rw,
|
/*/ r,
|
||||||
|
/*/** rw,
|
||||||
@{PROC}/@{pid}/fdinfo/@{int} r,
|
deny @{sys}/** w,
|
||||||
@{PROC}/@{pid}/mountinfo r,
|
deny @{PROC}/** w,
|
||||||
@{PROC}/@{pid}/stat r,
|
deny @{efi}/** w,
|
||||||
|
deny /dev/** w,
|
||||||
|
|
||||||
include if exists <local/gvfsd-admin>
|
include if exists <local/gvfsd-admin>
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue