apparmor.d/apparmor.d/groups/kde/kbuildsycoca5
2024-07-04 21:38:46 +01:00

26 lines
662 B
Text

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2024 Jeroen Rijken
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{bin}/kbuildsycoca5
profile kbuildsycoca5 @{exec_path} flags=(attach_disconnected) {
include <abstractions/base>
include <abstractions/freedesktop.org>
include <abstractions/nameservice-strict>
@{exec_path} mr,
owner @{user_cache_dirs}/ksycoca{5,6}_* rw,
owner link @{user_cache_dirs}/ksycoca5_* -> @{user_cache_dirs}/#@{int},
/dev/tty r,
include if exists <local/kbuildsycoca5>
}
# vim:syntax=apparmor