apparmor.d/apparmor.d/profiles-m-r/plank

28 lines
668 B
Text

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2023 Jeroen Rijken
# Copyright (C) 2023-2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/4.0>,
include <tunables/global>
@{exec_path} = @{bin}/plank
profile plank @{exec_path} {
include <abstractions/base>
include <abstractions/app-launcher-user>
include <abstractions/bus-session>
include <abstractions/dconf>
include <abstractions/desktop>
include <abstractions/fontconfig-cache-read>
@{exec_path} rm,
/usr/{,local/}share/plank/{,**} r,
owner @{user_config_dirs}/plank/{,**} rw,
include if exists <local/plank>
}
# vim:syntax=apparmor