mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix(apparmor): Fix hunspell access
AppArmor denies access to hunspell files: ``` type=AVC msg=audit(1548511779.241:1773): apparmor="DENIED" operation="open" profile="qtox" name="/usr/share/hunspell/lt_LT.aff" pid=9833 comm="qtox" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0 type=AVC msg=audit(1548511779.241:1774): apparmor="DENIED" operation="open" profile="qtox" name="/usr/share/hunspell/lt_LT.dic" pid=9833 comm="qtox" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0 ``` Add rule to allow reading hunspell dictionaries.
This commit is contained in:
parent
a67faf2976
commit
577aeb8fa3
|
@ -50,6 +50,7 @@ profile qtox /usr{,/local}/bin/qtox {
|
||||||
|
|
||||||
# System files
|
# System files
|
||||||
|
|
||||||
|
/usr/share/hunspell/* r,
|
||||||
@{qtox_additional_rw_dirs}/ r,
|
@{qtox_additional_rw_dirs}/ r,
|
||||||
@{qtox_additional_rw_dirs}/** rw,
|
@{qtox_additional_rw_dirs}/** rw,
|
||||||
|
|
||||||
|
|
|
@ -56,6 +56,7 @@ profile qtox /usr{,/local}/bin/qtox {
|
||||||
|
|
||||||
# System files
|
# System files
|
||||||
|
|
||||||
|
/usr/share/hunspell/* r,
|
||||||
@{qtox_additional_rw_dirs}/ r,
|
@{qtox_additional_rw_dirs}/ r,
|
||||||
@{qtox_additional_rw_dirs}/** rw,
|
@{qtox_additional_rw_dirs}/** rw,
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user