apparmor.d/apparmor.d/groups/gnome/evolution-source-registry

58 lines
1.9 KiB
Plaintext
Raw Normal View History

2021-04-02 01:00:33 +02:00
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2021 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
2021-04-02 01:00:33 +02:00
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{lib}/{,evolution-data-server/}evolution-source-registry
2022-10-16 16:46:39 +02:00
profile evolution-source-registry @{exec_path} {
2021-04-02 01:00:33 +02:00
include <abstractions/base>
include <abstractions/dbus-session-strict>
include <abstractions/dconf-write>
2021-04-02 01:00:33 +02:00
include <abstractions/nameservice-strict>
include <abstractions/p11-kit>
2022-06-05 23:47:37 +02:00
include <abstractions/ssl_certs>
2021-04-02 01:00:33 +02:00
network inet stream,
network inet6 stream,
network inet dgram,
network inet6 dgram,
network netlink raw,
2023-03-03 13:20:10 +01:00
dbus (receive) bus=session path=/org/gnome/evolution/dataserver{,/**}
interface=org.freedesktop.DBus.Introspectable
peer=(name=:*, label=gnome-shell),
2023-08-22 00:32:10 +02:00
dbus bind bus=session name=org.gnome.evolution.dataserver.Sources[0-9],
2021-04-02 01:00:33 +02:00
@{exec_path} mr,
2021-04-02 01:00:33 +02:00
/usr/share/glib-2.0/schemas/gschemas.compiled r,
owner @{user_cache_dirs}/evolution/{,**} rwk,
2021-04-09 15:47:06 +02:00
owner @{user_config_dirs}/evolution/sources/{,*} rw,
2021-04-02 01:00:33 +02:00
owner @{user_share_dirs}/evolution/{,**} r,
owner @{user_share_dirs}/gvfs-metadata/{,*} r,
2021-04-02 01:00:33 +02:00
2022-10-16 16:12:23 +02:00
# new user; change to 'c'
owner @{user_config_dirs}/evolution/ w,
owner @{user_share_dirs}/evolution/ w,
owner @{user_share_dirs}/evolution/addressbook/ w,
owner @{user_share_dirs}/evolution/addressbook/trash/ w,
owner @{user_share_dirs}/evolution/calendar/ w,
owner @{user_share_dirs}/evolution/calendar/trash/ w,
owner @{user_share_dirs}/evolution/mail/ w,
2022-10-16 16:45:00 +02:00
owner @{user_share_dirs}/evolution/mail/trash/ w,
owner @{user_share_dirs}/evolution/memos/ w,
owner @{user_share_dirs}/evolution/memos/trash/ w,
2022-10-16 16:12:23 +02:00
owner @{user_share_dirs}/evolution/tasks/ w,
owner @{user_share_dirs}/evolution/tasks/trash/ w,
@{PROC}/sys/kernel/osrelease r,
@{PROC}/cmdline r,
2021-04-02 01:00:33 +02:00
include if exists <local/evolution-source-registry>
}