From ff2aae77b9e6a281c76aca608396f1ce5e6b1b3f Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Thu, 27 Apr 2023 22:20:46 +0100 Subject: [PATCH] feat(kde): update akonadi profiles. --- apparmor.d/groups/akonadi/akonadi_akonotes_resource | 2 +- apparmor.d/groups/akonadi/akonadi_archivemail_agent | 2 +- apparmor.d/groups/akonadi/akonadi_birthdays_resource | 2 +- apparmor.d/groups/akonadi/akonadi_contacts_resource | 2 +- apparmor.d/groups/akonadi/akonadi_control | 4 +++- apparmor.d/groups/akonadi/akonadi_followupreminder_agent | 2 +- apparmor.d/groups/akonadi/akonadi_ical_resource | 8 ++++---- apparmor.d/groups/akonadi/akonadi_mailfilter_agent | 2 +- apparmor.d/groups/akonadi/akonadi_mailmerge_agent | 2 +- apparmor.d/groups/akonadi/akonadi_migration_agent | 2 +- apparmor.d/groups/akonadi/akonadi_newmailnotifier_agent | 2 +- apparmor.d/groups/akonadi/akonadi_notes_agent | 2 +- apparmor.d/groups/akonadi/akonadi_sendlater_agent | 2 +- apparmor.d/groups/akonadi/akonadi_unifiedmailbox_agent | 4 ++-- 14 files changed, 20 insertions(+), 18 deletions(-) diff --git a/apparmor.d/groups/akonadi/akonadi_akonotes_resource b/apparmor.d/groups/akonadi/akonadi_akonotes_resource index 41d43e52..b9227ea8 100644 --- a/apparmor.d/groups/akonadi/akonadi_akonotes_resource +++ b/apparmor.d/groups/akonadi/akonadi_akonotes_resource @@ -28,7 +28,7 @@ profile akonadi_akonotes_resource @{exec_path} { owner @{user_cache_dirs}/icon-cache.kcache rw, owner @{user_config_dirs}/akonadi_akonotes_resource_[0-9]rc r, - owner @{user_config_dirs}/akonadi/agent_config_akonadi_akonotes_resource_[0-9]{,_changes.dat} r, + owner @{user_config_dirs}/akonadi/agent_config_akonadi_akonotes_resource_[0-9]{,_changes.dat} rw, owner @{user_config_dirs}/akonadi/akonadiconnectionrc r, owner @{user_share_dirs}/notes/**/ r, diff --git a/apparmor.d/groups/akonadi/akonadi_archivemail_agent b/apparmor.d/groups/akonadi/akonadi_archivemail_agent index de850b19..24009a57 100644 --- a/apparmor.d/groups/akonadi/akonadi_archivemail_agent +++ b/apparmor.d/groups/akonadi/akonadi_archivemail_agent @@ -33,7 +33,7 @@ profile akonadi_archivemail_agent @{exec_path} { owner @{user_config_dirs}/#[0-9]* rw, owner @{user_config_dirs}/akonadi_archivemail_agentrc r, owner @{user_config_dirs}/akonadi/agent_config_akonadi_archivemail_agent r, - owner @{user_config_dirs}/akonadi/agent_config_akonadi_archivemail_agent_changes{,.dat} r, + owner @{user_config_dirs}/akonadi/agent_config_akonadi_archivemail_agent_changes{,.dat} rw, owner @{user_config_dirs}/akonadi/akonadiconnectionrc r, owner @{user_config_dirs}/emaildefaults r, owner @{user_config_dirs}/emailidentities.lock rwk, diff --git a/apparmor.d/groups/akonadi/akonadi_birthdays_resource b/apparmor.d/groups/akonadi/akonadi_birthdays_resource index 4b579edd..ea010367 100644 --- a/apparmor.d/groups/akonadi/akonadi_birthdays_resource +++ b/apparmor.d/groups/akonadi/akonadi_birthdays_resource @@ -28,7 +28,7 @@ profile akonadi_birthdays_resource @{exec_path} { owner @{user_cache_dirs}/icon-cache.kcache rw, - owner @{user_config_dirs}/akonadi/agent_config_akonadi_birthdays_resource{,_changes.dat} r, + owner @{user_config_dirs}/akonadi/agent_config_akonadi_birthdays_resource{,_changes.dat} rw, owner @{user_config_dirs}/akonadi/akonadiconnectionrc r, owner @{user_config_dirs}/kdedefaults/kdeglobals r, diff --git a/apparmor.d/groups/akonadi/akonadi_contacts_resource b/apparmor.d/groups/akonadi/akonadi_contacts_resource index b332af21..8bb79d4b 100644 --- a/apparmor.d/groups/akonadi/akonadi_contacts_resource +++ b/apparmor.d/groups/akonadi/akonadi_contacts_resource @@ -27,7 +27,7 @@ profile akonadi_contacts_resource @{exec_path} { owner @{user_cache_dirs}/icon-cache.kcache rw, owner @{user_config_dirs}/akonadi_contacts_resource_[0-9]rc r, - owner @{user_config_dirs}/akonadi/agent_config_akonadi_contacts_resource_[0-9]{,_changes.dat} r, + owner @{user_config_dirs}/akonadi/agent_config_akonadi_contacts_resource_[0-9]{,_changes.dat} rw, owner @{user_config_dirs}/akonadi/akonadiconnectionrc r, owner @{user_config_dirs}/kdedefaults/kdeglobals r, diff --git a/apparmor.d/groups/akonadi/akonadi_control b/apparmor.d/groups/akonadi/akonadi_control index 0faef921..320d4b31 100644 --- a/apparmor.d/groups/akonadi/akonadi_control +++ b/apparmor.d/groups/akonadi/akonadi_control @@ -27,11 +27,13 @@ profile akonadi_control @{exec_path} { /etc/xdg/kdeglobals r, /etc/xdg/kwinrc r, + /etc/machine-id r, owner @{user_cache_dirs}/icon-cache.kcache rw, owner @{user_cache_dirs}/akonadi/{,**} rwl, - owner @{user_config_dirs}/akonadi/{,**} r, + owner @{user_config_dirs}/akonadi/ rw, + owner @{user_config_dirs}/akonadi/** rwl -> @{user_config_dirs}/akonadi/**, owner @{user_config_dirs}/kdedefaults/kdeglobals r, owner @{user_config_dirs}/kdeglobals r, owner @{user_config_dirs}/libaccounts-glib/accounts.db{,-shm,-wal} rwk, diff --git a/apparmor.d/groups/akonadi/akonadi_followupreminder_agent b/apparmor.d/groups/akonadi/akonadi_followupreminder_agent index ff6f2f87..b9be2d63 100644 --- a/apparmor.d/groups/akonadi/akonadi_followupreminder_agent +++ b/apparmor.d/groups/akonadi/akonadi_followupreminder_agent @@ -32,7 +32,7 @@ profile akonadi_followupreminder_agent @{exec_path} { owner @{user_cache_dirs}/icon-cache.kcache rw, owner @{user_config_dirs}/akonadi_followupreminder_agentrc r, - owner @{user_config_dirs}/akonadi/agent_config_akonadi_followupreminder_agent{,_changes.dat} r, + owner @{user_config_dirs}/akonadi/agent_config_akonadi_followupreminder_agent{,_changes.dat} rw, owner @{user_config_dirs}/akonadi/akonadiconnectionrc r, owner @{user_config_dirs}/kdedefaults/kdeglobals r, diff --git a/apparmor.d/groups/akonadi/akonadi_ical_resource b/apparmor.d/groups/akonadi/akonadi_ical_resource index 4a01c549..b1dc6cbc 100644 --- a/apparmor.d/groups/akonadi/akonadi_ical_resource +++ b/apparmor.d/groups/akonadi/akonadi_ical_resource @@ -21,16 +21,16 @@ profile akonadi_ical_resource @{exec_path} { /usr/share/mime/{,**} r, /usr/share/qt/translations/*.qm r, - owner @{user_cache_dirs}/akonadi_ical_resource_[0-9]/{,*} r, + owner @{user_cache_dirs}/akonadi_ical_resource_[0-9]/{,*} rwl, owner @{user_cache_dirs}/icon-cache.kcache rw, - owner @{user_config_dirs}/akonadi_ical_resource_[0-9]rc r, - owner @{user_config_dirs}/akonadi/agent_config_akonadi_ical_resource_[0-9]{,_changes.dat} r, + owner @{user_config_dirs}/akonadi_ical_resource_[0-9]rc rwl, + owner @{user_config_dirs}/akonadi/agent_config_akonadi_ical_resource_[0-9]{,_changes.dat} rw, owner @{user_config_dirs}/akonadi/akonadiconnectionrc r, owner @{user_config_dirs}/kdedefaults/kdeglobals r, owner @{user_config_dirs}/kdedefaults/kwinrc r, owner @{user_config_dirs}/kdeglobals r, owner @{user_config_dirs}/kwinrc r, - owner @{user_share_dirs}/apps/korganizer/*.ics r, + owner @{user_share_dirs}/apps/korganizer/{,**} rw, @{PROC}/sys/kernel/core_pattern r, diff --git a/apparmor.d/groups/akonadi/akonadi_mailfilter_agent b/apparmor.d/groups/akonadi/akonadi_mailfilter_agent index 5218cf71..3844540b 100644 --- a/apparmor.d/groups/akonadi/akonadi_mailfilter_agent +++ b/apparmor.d/groups/akonadi/akonadi_mailfilter_agent @@ -37,7 +37,7 @@ profile akonadi_mailfilter_agent @{exec_path} { owner @{user_config_dirs}/agent_config_akonadi_mailfilter_agent r, owner @{user_config_dirs}/akonadi_*_resource_*rc r, owner @{user_config_dirs}/akonadi_mailfilter_agentrc r, - owner @{user_config_dirs}/akonadi/agent_config_akonadi_mailfilter_agent_changes{,.dat} r, + owner @{user_config_dirs}/akonadi/agent_config_akonadi_mailfilter_agent_changes{,.dat} rw, owner @{user_config_dirs}/akonadi/akonadiconnectionrc r, owner @{user_config_dirs}/emaildefaults r, diff --git a/apparmor.d/groups/akonadi/akonadi_mailmerge_agent b/apparmor.d/groups/akonadi/akonadi_mailmerge_agent index 5f78c7be..f4933191 100644 --- a/apparmor.d/groups/akonadi/akonadi_mailmerge_agent +++ b/apparmor.d/groups/akonadi/akonadi_mailmerge_agent @@ -28,7 +28,7 @@ profile akonadi_mailmerge_agent @{exec_path} { owner @{user_cache_dirs}/icon-cache.kcache rw, - owner @{user_config_dirs}/akonadi/agent_config_akonadi_mailmerge_agent_changes.dat r, + owner @{user_config_dirs}/akonadi/agent_config_akonadi_mailmerge_agent_changes.dat rw, owner @{user_config_dirs}/akonadi/akonadiconnectionrc r, owner @{user_config_dirs}/kdedefaults/kdeglobals r, diff --git a/apparmor.d/groups/akonadi/akonadi_migration_agent b/apparmor.d/groups/akonadi/akonadi_migration_agent index db863424..af0203bc 100644 --- a/apparmor.d/groups/akonadi/akonadi_migration_agent +++ b/apparmor.d/groups/akonadi/akonadi_migration_agent @@ -29,7 +29,7 @@ profile akonadi_migration_agent @{exec_path} { owner @{user_cache_dirs}/icon-cache.kcache rw, owner @{user_config_dirs}/akonadi-migrationrc r, - owner @{user_config_dirs}/akonadi/agent_config_akonadi_migration_agent_changes{,.dat} r, + owner @{user_config_dirs}/akonadi/agent_config_akonadi_migration_agent_changes{,.dat} rw, owner @{user_config_dirs}/akonadi/akonadiconnectionrc r, owner @{user_config_dirs}/kdedefaults/kdeglobals r, owner @{user_config_dirs}/kdedefaults/kwinrc r, diff --git a/apparmor.d/groups/akonadi/akonadi_newmailnotifier_agent b/apparmor.d/groups/akonadi/akonadi_newmailnotifier_agent index fc9239aa..b056e906 100644 --- a/apparmor.d/groups/akonadi/akonadi_newmailnotifier_agent +++ b/apparmor.d/groups/akonadi/akonadi_newmailnotifier_agent @@ -33,7 +33,7 @@ profile akonadi_newmailnotifier_agent @{exec_path} { owner @{user_config_dirs}/#[0-9]* rw, owner @{user_config_dirs}/akonadi_newmailnotifier_agentrc r, - owner @{user_config_dirs}/akonadi/agent_config_akonadi_newmailnotifier_agent_changes{,_changes.dat,.dat} r, + owner @{user_config_dirs}/akonadi/agent_config_akonadi_newmailnotifier_agent_changes{,_changes.dat,.dat} rw, owner @{user_config_dirs}/akonadi/akonadiconnectionrc r, owner @{user_config_dirs}/emaildefaults r, owner @{user_config_dirs}/emailidentities.lock rwk, diff --git a/apparmor.d/groups/akonadi/akonadi_notes_agent b/apparmor.d/groups/akonadi/akonadi_notes_agent index 744bd1f8..c3f62931 100644 --- a/apparmor.d/groups/akonadi/akonadi_notes_agent +++ b/apparmor.d/groups/akonadi/akonadi_notes_agent @@ -35,7 +35,7 @@ profile akonadi_notes_agent @{exec_path} { owner @{user_cache_dirs}/icon-cache.kcache rw, owner @{user_config_dirs}/akonadi_*_agentrc r, - owner @{user_config_dirs}/akonadi/agent_config_akonadi_notes_agent_changes{,.dat} r, + owner @{user_config_dirs}/akonadi/agent_config_akonadi_notes_agent_changes{,.dat} rw, owner @{user_config_dirs}/akonadi/akonadiconnectionrc r, owner @{user_config_dirs}/kdedefaults/kdeglobals r, owner @{user_config_dirs}/kdedefaults/kwinrc r, diff --git a/apparmor.d/groups/akonadi/akonadi_sendlater_agent b/apparmor.d/groups/akonadi/akonadi_sendlater_agent index 32252992..23151652 100644 --- a/apparmor.d/groups/akonadi/akonadi_sendlater_agent +++ b/apparmor.d/groups/akonadi/akonadi_sendlater_agent @@ -35,7 +35,7 @@ profile akonadi_sendlater_agent @{exec_path} { owner @{user_cache_dirs}/icon-cache.kcache rw, owner @{user_config_dirs}/akonadi_sendlater_agentrc r, - owner @{user_config_dirs}/akonadi/agent_config_akonadi_sendlater_agent_changes{,.dat} r, + owner @{user_config_dirs}/akonadi/agent_config_akonadi_sendlater_agent_changes{,.dat} rw, owner @{user_config_dirs}/akonadi/akonadiconnectionrc r, owner @{user_config_dirs}/kdedefaults/kdeglobals r, diff --git a/apparmor.d/groups/akonadi/akonadi_unifiedmailbox_agent b/apparmor.d/groups/akonadi/akonadi_unifiedmailbox_agent index d876a4fa..1e63da26 100644 --- a/apparmor.d/groups/akonadi/akonadi_unifiedmailbox_agent +++ b/apparmor.d/groups/akonadi/akonadi_unifiedmailbox_agent @@ -30,8 +30,8 @@ profile akonadi_unifiedmailbox_agent @{exec_path} { owner @{user_cache_dirs}/icon-cache.kcache rw, owner @{user_config_dirs}/akonadi_unifiedmailbox_agentrc r, - owner @{user_config_dirs}/{*,akonadi/}agent_config_akonadi_unifiedmailbox_agent{,_changes.dat,.conf_changes.dat} r, - owner @{user_config_dirs}/{*,akonadi/}akonadi_unifiedmailbox_agent{,_changes.dat,.conf_changes.dat} r, + owner @{user_config_dirs}/{*,akonadi/}agent_config_akonadi_unifiedmailbox_agent{,_changes.dat,.conf_changes.dat} rw, + owner @{user_config_dirs}/{*,akonadi/}akonadi_unifiedmailbox_agent{,_changes.dat,.conf_changes.dat} rw, owner @{user_config_dirs}/akonadi/akonadiconnectionrc r, owner @{user_config_dirs}/kdedefaults/kdeglobals r, owner @{user_config_dirs}/kdedefaults/kwinrc r,