mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix(apparmor): Fix .local/share/qTox/ access
Capturing desktop screenshot produces this DENIED messages: ``` type=AVC msg=audit(1548516170.837:3146): apparmor="DENIED" operation="mkdir" profile="qtox" name="/home/vincas/.local/share/qTox/" pid=12605 comm="qtox" requested_mask="c" denied_mask="c" fsuid=1000 ouid= 1000 ``` Add rule to allow writing to .local/share/qTox/
This commit is contained in:
parent
514cd36826
commit
e13b8a973e
|
@ -183,6 +183,7 @@ profile qtox /usr{,/local}/bin/qtox {
|
|||
owner @{HOME}/.config/qToxrc.lock rwk,
|
||||
owner @{HOME}/.config/tox/** l -> @{HOME}/.config/tox/**, # QSaveFile?
|
||||
owner @{HOME}/.config/tox/{,**} rwk,
|
||||
owner @{HOME}/.local/share/qTox/{,**} rw,
|
||||
owner @{HOME}/.local/share/user-places.xbel r, # file dialog
|
||||
owner @{PROC}/@{pid}/cmdline r,
|
||||
|
||||
|
|
|
@ -189,6 +189,7 @@ profile qtox /usr{,/local}/bin/qtox {
|
|||
owner @{HOME}/.config/qToxrc.lock rwk,
|
||||
owner @{HOME}/.config/tox/** l -> @{HOME}/.config/tox/**, # QSaveFile?
|
||||
owner @{HOME}/.config/tox/{,**} rwk,
|
||||
owner @{HOME}/.local/share/qTox/{,**} rw,
|
||||
owner @{HOME}/.local/share/user-places.xbel r, # file dialog
|
||||
owner @{PROC}/@{pid}/cmdline r,
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user