mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-15 07:54:17 +01:00
Finish full gnome support for gvfsd-*.
This commit is contained in:
parent
0682ff0789
commit
3807a4387f
@ -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>
|
||||
|
@ -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>
|
||||
}
|
||||
|
@ -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>
|
||||
}
|
||||
|
@ -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>
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user