From 119c3a27fdf748b3bf8d58196d700981e8cb2622 Mon Sep 17 00:00:00 2001 From: curiosityseeker <60518106+curiosityseeker@users.noreply.github.com> Date: Sat, 29 Apr 2023 12:41:13 +0200 Subject: [PATCH] More additions for plasmashell --- apparmor.d/groups/kde/plasmashell | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/apparmor.d/groups/kde/plasmashell b/apparmor.d/groups/kde/plasmashell index cf7642dd..035d9b50 100644 --- a/apparmor.d/groups/kde/plasmashell +++ b/apparmor.d/groups/kde/plasmashell @@ -58,7 +58,6 @@ profile plasmashell @{exec_path} { owner @{user_cache_dirs}/icon-cache.kcache rw, owner @{user_cache_dirs}/ksycoca5_* r, owner @{user_cache_dirs}/org.kde.dirmodel-qml.kcache rw, - owner @{user_share_dirs}/plasma_icons/*.desktop r, owner @{user_cache_dirs}/plasma-svgelements* rwl, owner @{user_cache_dirs}/plasma_theme_default_v*.kcache rw, owner @{user_cache_dirs}/plasmashell/qmlcache/{,**} rwl, @@ -79,6 +78,7 @@ profile plasmashell @{exec_path} { owner @{user_config_dirs}/kwinrc r, owner @{user_config_dirs}/menus/{,**} r, owner @{user_config_dirs}/plasma*desktop* rwlk, + owner @{user_config_dirs}/plasma-org.kde.plasma.desktop-appletsrc.* rk, owner @{user_config_dirs}/plasmanotifyrc r, owner @{user_config_dirs}/plasmaparc r, owner @{user_config_dirs}/plasmashellrc r, @@ -93,6 +93,8 @@ profile plasmashell @{exec_path} { owner @{user_share_dirs}/klipper/{,*} rwl, owner @{user_share_dirs}/krunnerstaterc.lock rwk, owner @{user_share_dirs}/krunnerstaterc* rwk, + owner @{user_share_dirs}/plasma_icons/*.desktop r, + owner @{user_share_dirs}/plasma/plasmoids/{,**} r, owner @{user_share_dirs}/user-places.xbel r, owner @{run}/user/@{uid}/#[0-9]* rw, @@ -102,10 +104,11 @@ profile plasmashell @{exec_path} { @{PROC}/sys/kernel/core_pattern r, @{PROC}/sys/kernel/random/boot_id r, - owner @{PROC}/@{pid}/mounts r, + owner @{PROC}/@{pid}/{environ,mounts,mountinfo} r, @{sys}/bus/{,**} r, @{sys}/class/ r, + @{sys}/devices/pci[0-9]*/**/{device,subsystem_device,subsystem_vendor,uevent,vendor} r, include if exists