update apparmor profiles
This commit is contained in:
parent
0f64093e46
commit
5b12c89dba
48 changed files with 755 additions and 67 deletions
30
apparmor.d/gvfsd-metadata
Normal file
30
apparmor.d/gvfsd-metadata
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
# vim:syntax=apparmor
|
||||
# ------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (C) 2021 Mikhail Morfikov
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or
|
||||
# modify it under the terms of version 2 of the GNU General Public
|
||||
# License published by the Free Software Foundation.
|
||||
#
|
||||
# ------------------------------------------------------------------
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/gvfs/gvfsd-metadata
|
||||
@{exec_path} += /usr/libexec/gvfsd-metadata
|
||||
profile gvfsd-metadata @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/disks-read>
|
||||
|
||||
network netlink raw,
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
owner @{HOME}/.local/share/gvfs-metadata/ rw,
|
||||
owner @{HOME}/.local/share/gvfs-metadata/** rw,
|
||||
|
||||
include if exists <local/gvfsd-metadata>
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue