apparmor.d/apparmor.d/groups/gvfs/gvfsd-archive
REmerald da93eb29d8 feat(groups/g*): vim syntax support
Add vim modeline instructing the editor to use syntax plugin provided by apparmor.
Continuation of #393 to keep the diff list relatively short.
2024-06-16 17:30:58 +01:00

27 lines
669 B
Text

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2021 Mikhail Morfikov
# Copyright (C) 2023-2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{lib}/{,gvfs/}gvfsd-archive
profile gvfsd-archive @{exec_path} {
include <abstractions/base>
include <abstractions/freedesktop.org>
include <abstractions/nameservice-strict>
@{exec_path} mr,
owner @{HOME}/**.{tar,tar.gz,zip} r,
owner @{MOUNTS}/**.{TAR,TAR.GZ,ZIP} r,
owner @{HOME}/**.{tar,tar.gz,zip} r,
owner @{user_img_dirs}/{,**} r,
include if exists <local/gvfsd-archive>
}
# vim:syntax=apparmor