Finish full gnome support for gvfsd-*.
This commit is contained in:
parent
0682ff0789
commit
3807a4387f
4 changed files with 12 additions and 2 deletions
|
|
@ -17,6 +17,8 @@ profile gvfsd-fuse @{exec_path} {
|
||||||
|
|
||||||
mount fstype={fuse,fuse.*} -> @{run}/user/[0-9]*/gvfs/,
|
mount fstype={fuse,fuse.*} -> @{run}/user/[0-9]*/gvfs/,
|
||||||
|
|
||||||
|
@{PROC}/sys/fs/pipe-max-size r,
|
||||||
|
|
||||||
/dev/fuse rw,
|
/dev/fuse rw,
|
||||||
|
|
||||||
include if exists <local/gvfsd-fuse>
|
include if exists <local/gvfsd-fuse>
|
||||||
|
|
|
||||||
|
|
@ -16,8 +16,8 @@ profile gvfsd-metadata @{exec_path} {
|
||||||
|
|
||||||
@{exec_path} mr,
|
@{exec_path} mr,
|
||||||
|
|
||||||
owner @{user_share_dirs}/gvfs-metadata/ rw,
|
owner @{HOME}/.local/share/gvfs-metadata/ rw,
|
||||||
owner @{user_share_dirs}/gvfs-metadata/** rw,
|
owner @{HOME}/.local/share/gvfs-metadata/** rw,
|
||||||
|
|
||||||
include if exists <local/gvfsd-metadata>
|
include if exists <local/gvfsd-metadata>
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
# apparmor.d - Full set of apparmor profiles
|
# apparmor.d - Full set of apparmor profiles
|
||||||
# Copyright (C) 2021 Mikhail Morfikov
|
# Copyright (C) 2021 Mikhail Morfikov
|
||||||
|
# 2021 Alexandre Pujol <alexandre@pujol.io>
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
abi <abi/3.0>,
|
abi <abi/3.0>,
|
||||||
|
|
@ -13,5 +14,8 @@ profile gvfsd-network @{exec_path} {
|
||||||
|
|
||||||
@{exec_path} mr,
|
@{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>
|
include if exists <local/gvfsd-network>
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
# apparmor.d - Full set of apparmor profiles
|
# apparmor.d - Full set of apparmor profiles
|
||||||
# Copyright (C) 2021 Mikhail Morfikov
|
# Copyright (C) 2021 Mikhail Morfikov
|
||||||
|
# 2021 Alexandre Pujol <alexandre@pujol.io>
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
abi <abi/3.0>,
|
abi <abi/3.0>,
|
||||||
|
|
@ -25,5 +26,8 @@ profile gvfsd-trash @{exec_path} {
|
||||||
|
|
||||||
@{run}/mount/utab r,
|
@{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>
|
include if exists <local/gvfsd-trash>
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue