mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-06 09:21:00 +01:00

Qt-based applications stores QFileDialog (latest browsed directory) and other shared user settings inside ~/.config/QtProject.conf. Currently available qt abstraction only allows to read it (by design), so this patch introduces abstraction that grants permissions for writing.
11 lines
435 B
Text
11 lines
435 B
Text
# vim:syntax=apparmor
|
|
# Allow writing shared settings for Qt-based applications
|
|
|
|
# User files
|
|
|
|
owner @{HOME}/.config/#[0-9]* rw,
|
|
owner @{HOME}/.config/QtProject.conf rw,
|
|
owner @{HOME}/.config/QtProject.conf.?????? l -> @{HOME}/.config/#[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9],
|
|
owner @{HOME}/.config/QtProject.conf.?????? rw, # for temporary files like QtProject.conf.Aqrgeb
|
|
owner @{HOME}/.config/QtProject.conf.lock rwk,
|
|
|