Finish full gnome support for gvfsd-*.

This commit is contained in:
Alexandre Pujol 2021-04-02 10:29:37 +01:00
parent 0682ff0789
commit 3807a4387f
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC
4 changed files with 12 additions and 2 deletions

View File

@ -17,6 +17,8 @@ profile gvfsd-fuse @{exec_path} {
mount fstype={fuse,fuse.*} -> @{run}/user/[0-9]*/gvfs/,
@{PROC}/sys/fs/pipe-max-size r,
/dev/fuse rw,
include if exists <local/gvfsd-fuse>

View File

@ -16,8 +16,8 @@ profile gvfsd-metadata @{exec_path} {
@{exec_path} mr,
owner @{user_share_dirs}/gvfs-metadata/ rw,
owner @{user_share_dirs}/gvfs-metadata/** rw,
owner @{HOME}/.local/share/gvfs-metadata/ rw,
owner @{HOME}/.local/share/gvfs-metadata/** rw,
include if exists <local/gvfsd-metadata>
}

View File

@ -1,5 +1,6 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2021 Mikhail Morfikov
# 2021 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
@ -13,5 +14,8 @@ profile gvfsd-network @{exec_path} {
@{exec_path} mr,
owner @{run}/user/[0-9]*/gvfsd/ rw,
owner @{run}/user/[0-9]*/gvfsd/socket-[a-zA-z0-9]* rw,
include if exists <local/gvfsd-network>
}

View File

@ -1,5 +1,6 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2021 Mikhail Morfikov
# 2021 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
@ -25,5 +26,8 @@ profile gvfsd-trash @{exec_path} {
@{run}/mount/utab r,
owner @{run}/user/[0-9]*/gvfsd/ rw,
owner @{run}/user/[0-9]*/gvfsd/socket-[a-zA-z0-9]* rw,
include if exists <local/gvfsd-trash>
}