29 lines
775 B
Text
29 lines
775 B
Text
# apparmor.d - Full set of apparmor profiles
|
|
# 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}/akonadi_akonotes_resource
|
|
profile akonadi_akonotes_resource @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/graphics>
|
|
include <abstractions/kde-strict>
|
|
include <abstractions/nameservice-strict>
|
|
|
|
@{exec_path} mr,
|
|
|
|
owner @{user_config_dirs}/akonadi_akonotes_resource_[0-9]rc r,
|
|
owner @{user_config_dirs}/akonadi/ rw,
|
|
owner @{user_config_dirs}/akonadi/** rwlk -> @{user_config_dirs}/akonadi/**,
|
|
|
|
owner @{user_share_dirs}/notes/**/ r,
|
|
|
|
/dev/tty r,
|
|
|
|
include if exists <local/akonadi_akonotes_resource>
|
|
}
|
|
|
|
# vim:syntax=apparmor
|