diff --git a/apparmor.d/groups/kde/kauth-backlighthelper b/apparmor.d/groups/kde/kauth-backlighthelper index 283e1fbe..a79944a2 100644 --- a/apparmor.d/groups/kde/kauth-backlighthelper +++ b/apparmor.d/groups/kde/kauth-backlighthelper @@ -20,7 +20,12 @@ profile kauth-backlighthelper @{exec_path} { @{sys}/class/backlight/ r, @{sys}/class/leds/ r, + @{sys}/devices/@{pci}/backlight/**/{max_brightness,actual_brightness} r, + @{sys}/devices/@{pci}/backlight/**/{uevent,type} r, @{sys}/devices/@{pci}/backlight/**/brightness rw, + @{sys}/devices/@{pci}/drm/card@{int}/**/{max_brightness,actual_brightness} r, + @{sys}/devices/@{pci}/drm/card@{int}/**/{uevent,type,enabled} r, + @{sys}/devices/@{pci}/drm/card@{int}/**/brightness rw, /dev/tty r, diff --git a/apparmor.d/groups/kde/kauth-chargethresholdhelper b/apparmor.d/groups/kde/kauth-chargethresholdhelper index be811589..dc0e1c6e 100644 --- a/apparmor.d/groups/kde/kauth-chargethresholdhelper +++ b/apparmor.d/groups/kde/kauth-chargethresholdhelper @@ -16,6 +16,8 @@ profile kauth-chargethresholdhelper @{exec_path} { /usr/share/icu/@{int}.@{int}/*.dat r, @{sys}/class/power_supply/ r, + @{sys}/devices/@{pci}/power_supply/** r, + @{sys}/devices/**/power_supply/** r, include if exists } \ No newline at end of file diff --git a/apparmor.d/groups/kde/kded5 b/apparmor.d/groups/kde/kded5 index d071daeb..210f6b12 100644 --- a/apparmor.d/groups/kde/kded5 +++ b/apparmor.d/groups/kde/kded5 @@ -61,6 +61,8 @@ profile kded5 @{exec_path} { @{user_cache_dirs}/ksycoca5_* rwlk -> @{user_cache_dirs}/#@{int}, owner @{user_cache_dirs}/#@{int} rw, owner @{user_cache_dirs}/icon-cache.kcache rw, + owner @{user_cache_dirs}/plasmashell/ rw, + owner @{user_cache_dirs}/plasmashell/** rwlk -> @{user_cache_dirs}/plasmashell/**, @{user_config_dirs}/kcookiejarrc.lock rwk, @{user_config_dirs}/kcookiejarrc{,.@{rand6}} rwl -> @{user_config_dirs}/#@{int}, diff --git a/apparmor.d/groups/kde/kwin_wayland b/apparmor.d/groups/kde/kwin_wayland index 68884d15..e9da85d5 100644 --- a/apparmor.d/groups/kde/kwin_wayland +++ b/apparmor.d/groups/kde/kwin_wayland @@ -88,7 +88,7 @@ profile kwin_wayland @{exec_path} flags=(attach_disconnected mediate_deleted) { owner @{user_config_dirs}/kwinrulesrc r, owner @{user_config_dirs}/kxkbrc r, owner @{user_config_dirs}/menus/{,applications-merged/} r, - # owner @{user_config_dirs}/session/* r, + owner @{user_config_dirs}/session/* r, owner @{user_share_dirs}/kscreen/* r, owner @{user_share_dirs}/kwin/scripts/{,**} r,