apparmor.d/apparmor.d/profiles-m-r/plank
2024-03-21 23:28:57 +00:00

26 lines
645 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/3.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>
}