mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix(apparmor): Fix screenshot capture under AppArmor
AppArmor denies creating screenshot file: ``` type=AVC msg=audit(1552817813.136:554): apparmor="DENIED" operation="mkdir" profile="qtox" name="/home/vincas/.local/share/Tox/qTox/images/" pid=16100 comm="qtox" requested_mask="c" denied_mask="c" fsuid=1000 ouid=1000 ``` Add file rule to allow creating desktop screenshot.
This commit is contained in:
parent
f6c11c9b6d
commit
5304ba4cb0
|
@ -295,6 +295,7 @@ profile qtox /usr{,/local}/bin/qtox {
|
|||
owner @{HOME}/.fonts/.uuid* rw,
|
||||
owner @{HOME}/.fonts/.uuid.* l -> @{HOME}/.fonts/.uuid.*,
|
||||
owner @{HOME}/.fonts/.uuid.*/ rw,
|
||||
owner @{HOME}/.local/share/Tox/{,**} rw,
|
||||
owner @{HOME}/.local/share/qTox/{,**} rw,
|
||||
owner @{HOME}/.local/share/user-places.xbel r, # file dialog
|
||||
owner @{PROC}/@{pid}/cmdline r,
|
||||
|
|
|
@ -302,6 +302,7 @@ profile qtox /usr{,/local}/bin/qtox {
|
|||
owner @{HOME}/.fonts/.uuid* rw,
|
||||
owner @{HOME}/.fonts/.uuid.* l -> @{HOME}/.fonts/.uuid.*,
|
||||
owner @{HOME}/.fonts/.uuid.*/ rw,
|
||||
owner @{HOME}/.local/share/Tox/{,**} rw,
|
||||
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