mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
Add kde-language-write abstraction
Currently, kde abstraction only allows reading
~/.config/klanguageoverridesrc file (by design). Some KDE applications
has option to change language for it's interface, and this needs write
access. This is fixed by introducing new abstraction.
(cherry picked from commit 7345f61e9c
)
Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
parent
090e9986f1
commit
925cf94cdc
1 changed files with 12 additions and 0 deletions
12
profiles/apparmor.d/abstractions/kde-language-write
Normal file
12
profiles/apparmor.d/abstractions/kde-language-write
Normal file
|
@ -0,0 +1,12 @@
|
|||
# vim:syntax=apparmor
|
||||
# Rules for changing per-application language settings on KDE. Some KDE
|
||||
# applications have "Help -> Switch Application Language..." option, that needs
|
||||
# write access to language settings file.
|
||||
|
||||
# User files
|
||||
|
||||
owner @{HOME}/.config/#[0-9]* rw,
|
||||
owner @{HOME}/.config/klanguageoverridesrc rw,
|
||||
owner @{HOME}/.config/klanguageoverridesrc.?????? rwl -> @{HOME}/.config/#[0-9]*,
|
||||
owner @{HOME}/.config/klanguageoverridesrc.lock rwk,
|
||||
|
Loading…
Add table
Reference in a new issue