aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorLibravatar glitsj16 <glitsj16@users.noreply.github.com>2020-01-02 23:04:28 +0000
committerLibravatar GitHub <noreply@github.com>2020-01-02 23:04:28 +0000
commit3f94dd1d4769f413d5390198b2bba14e821f03bb (patch)
treec36a2a7ee9757eed31f53ccf4b44422c7fa443e8 /etc
parentExtra hardening for wget (diff)
downloadfirejail-3f94dd1d4769f413d5390198b2bba14e821f03bb.tar.gz
firejail-3f94dd1d4769f413d5390198b2bba14e821f03bb.tar.zst
firejail-3f94dd1d4769f413d5390198b2bba14e821f03bb.zip
Fix artha
I intentionally wanted to have this as a 'whitelist' profile. The only snag is that artha seems to generate ${HOME}/.config/artha.config.XXXXXX that I cannot whitelist upfront. Added notes to highlight this behaviour.
Diffstat (limited to 'etc')
-rw-r--r--etc/artha.profile6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/artha.profile b/etc/artha.profile
index 5bbba354e..f8d0f2aa1 100644
--- a/etc/artha.profile
+++ b/etc/artha.profile
@@ -7,6 +7,7 @@ include artha.local
7include globals.local 7include globals.local
8 8
9noblacklist ${HOME}/.config/artha.conf 9noblacklist ${HOME}/.config/artha.conf
10noblacklist ${HOME}/.config/artha.log
10noblacklist ${HOME}/.config/enchant 11noblacklist ${HOME}/.config/enchant
11 12
12blacklist /tmp/.X11-unix 13blacklist /tmp/.X11-unix
@@ -19,9 +20,13 @@ include disable-passwdmgr.inc
19include disable-programs.inc 20include disable-programs.inc
20include disable-xdg.inc 21include disable-xdg.inc
21 22
23# this 'whitelist' profile could make settings immutable
24# either turn it into a 'blacklist' profile by commenting the lines below
25# or set your preferences by running artha without firejail once
22mkfile ${HOME}/.config/artha.conf 26mkfile ${HOME}/.config/artha.conf
23mkdir ${HOME}/.config/enchant 27mkdir ${HOME}/.config/enchant
24whitelist ${HOME}/.config/artha.conf 28whitelist ${HOME}/.config/artha.conf
29whitelist ${HOME}/.config/artha.log
25whitelist ${HOME}/.config/enchant 30whitelist ${HOME}/.config/enchant
26whitelist /usr/share/artha 31whitelist /usr/share/artha
27whitelist /usr/share/wordnet 32whitelist /usr/share/wordnet
@@ -46,6 +51,7 @@ novideo
46protocol unix 51protocol unix
47seccomp 52seccomp
48shell none 53shell none
54tracelog
49 55
50disable-mnt 56disable-mnt
51private-bin artha,enchant,notify-send 57private-bin artha,enchant,notify-send