From b3dffca697d2a890e6c42d385277b69b24511b00 Mon Sep 17 00:00:00 2001 From: curiosityseeker <60518106+curiosityseeker@users.noreply.github.com> Date: Fri, 31 May 2024 15:34:27 +0200 Subject: [PATCH] Update polkit-kde-authentication-agent needs mediate_deleted --- .../freedesktop/polkit-kde-authentication-agent | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/apparmor.d/groups/freedesktop/polkit-kde-authentication-agent b/apparmor.d/groups/freedesktop/polkit-kde-authentication-agent index 82bc555d5..fcdfa5af1 100644 --- a/apparmor.d/groups/freedesktop/polkit-kde-authentication-agent +++ b/apparmor.d/groups/freedesktop/polkit-kde-authentication-agent @@ -9,7 +9,7 @@ include @{exec_path} = @{lib}/@{multiarch}/{,libexec/}polkit-kde-authentication-agent-[0-9] @{exec_path} += @{lib}/polkit-kde-authentication-agent-[0-9] -profile polkit-kde-authentication-agent @{exec_path} flags=(attach_disconnected) { +profile polkit-kde-authentication-agent @{exec_path} flags=(attach_disconnected,mediate_deleted) { include include include @@ -34,8 +34,17 @@ profile polkit-kde-authentication-agent @{exec_path} flags=(attach_disconnected) /var/lib/dbus/machine-id r, owner @{user_config_dirs}/breezerc r, + owner @{user_config_dirs}/kdedefaults/plasmarc r, owner @{user_cache_dirs}/icon-cache.kcache rw, + owner @{user_cache_dirs}/polkit-kde-authentication-agent-@{int}/qmlcache/#@{int} rwl, + owner @{user_cache_dirs}/polkit-kde-authentication-agent-@{int}/qmlcache/*.qmlc{,.@{rand6}} rw, + owner @{user_cache_dirs}/polkit-kde-authentication-agent-@{int}/qmlcache/*.qmlc{,.@{rand6}} l -> @{user_cache_dirs}/polkit-kde-authentication-agent-@{int}/qmlcache/#@{int}, + owner @{user_cache_dirs}/polkit-kde-authentication-agent-@{int}/qtpipelinecache-*/qqpc_opengl.lck rwk, + owner @{user_cache_dirs}/polkit-kde-authentication-agent-@{int}/qtpipelinecache-*/#@{int} rwl, + owner @{user_cache_dirs}/polkit-kde-authentication-agent-@{int}/qtpipelinecache-*/qqpc_opengl{,.@{rand6}} rw, + owner @{user_cache_dirs}/polkit-kde-authentication-agent-@{int}/qtpipelinecache-*/qqpc_opengl{,.@{rand6}} l -> @{user_cache_dirs}/polkit-kde-authentication-agent-@{int}/qtpipelinecache-*/#@{int}, + owner @{user_cache_dirs}/qtshadercache-*/* r, owner @{tmp}/#@{int} rw, owner @{tmp}/polkit-kde-authentication-agent-[0-9].* rwl -> /tmp/#@{int},