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

Qt5 applications produces deny message when saving compose cache files: ``` type=AVC msg=audit(1547287756.436:198): apparmor="DENIED" operation="link" profile="qtox" name="/home/vincas/.cache/qt_compose_cache_little_endian_4982ae57498642c5997565013f7ffe4e" pid=2878 comm="qtox" requested_mask="l" denied_mask="l" fsuid=1000 ouid=1000 target="/home/vincas/.cache/#919806" ``` Add file rule to enable writing anonymous shared memory file.
8 lines
278 B
Text
8 lines
278 B
Text
# vim:syntax=apparmor
|
|
# Allow writing cache for Qt5 "platforminputcontexts" plugins
|
|
|
|
# User files
|
|
|
|
owner @{HOME}/.cache/qt_compose_cache_{little,big}_endian_* rwl -> @{HOME}/.cache/#[0-9]*[0-9],
|
|
owner @{HOME}/.cache/#[0-9]*[0-9] rw, # QSaveFile (anonymous shared memory)
|
|
|