diff options
author | 2019-07-31 22:33:45 -0400 | |
---|---|---|
committer | 2019-07-31 22:44:23 -0400 | |
commit | 91cc0bd54f03cb3d6a1def4da30cd1af3627a822 (patch) | |
tree | 9d842fc3c0e4a682d95cbe6f1ff546a89616b924 /etc | |
parent | Merge pull request #2881 from flacks/profiles/zulip (diff) | |
download | firejail-91cc0bd54f03cb3d6a1def4da30cd1af3627a822.tar.gz firejail-91cc0bd54f03cb3d6a1def4da30cd1af3627a822.tar.zst firejail-91cc0bd54f03cb3d6a1def4da30cd1af3627a822.zip |
Add new Tor Browser alias
- tor-browser in the AUR is an international package; all other
individual language variants have been removed, so, add new alias
- Add 'tor-browser' and 'mv' to private-bin in launcher profile ('mv' is
required when upgrading tor-browser versions)
- Add 'tor-browser' to firecfg.config
- Add config dir to disable-programs.inc
Diffstat (limited to 'etc')
-rw-r--r-- | etc/disable-programs.inc | 1 | ||||
-rw-r--r-- | etc/tor-browser.profile | 10 | ||||
-rw-r--r-- | etc/torbrowser-launcher.profile | 2 |
3 files changed, 12 insertions, 1 deletions
diff --git a/etc/disable-programs.inc b/etc/disable-programs.inc index 9b66702fc..aba2cfef4 100644 --- a/etc/disable-programs.inc +++ b/etc/disable-programs.inc | |||
@@ -627,6 +627,7 @@ blacklist ${HOME}/.teeworlds | |||
627 | blacklist ${HOME}/.thunderbird | 627 | blacklist ${HOME}/.thunderbird |
628 | blacklist ${HOME}/.tilp | 628 | blacklist ${HOME}/.tilp |
629 | blacklist ${HOME}/.tooling | 629 | blacklist ${HOME}/.tooling |
630 | blacklist ${HOME}/.tor-browser | ||
630 | blacklist ${HOME}/.tor-browser-* | 631 | blacklist ${HOME}/.tor-browser-* |
631 | blacklist ${HOME}/.tor-browser_* | 632 | blacklist ${HOME}/.tor-browser_* |
632 | blacklist ${HOME}/.torcs | 633 | blacklist ${HOME}/.torcs |
diff --git a/etc/tor-browser.profile b/etc/tor-browser.profile new file mode 100644 index 000000000..0cd84abf5 --- /dev/null +++ b/etc/tor-browser.profile | |||
@@ -0,0 +1,10 @@ | |||
1 | # Firejail profile alias for torbrowser-launcher | ||
2 | # This file is overwritten after every install/update | ||
3 | |||
4 | noblacklist ${HOME}/.tor-browser | ||
5 | |||
6 | mkdir ${HOME}/.tor-browser | ||
7 | whitelist ${HOME}/.tor-browser | ||
8 | |||
9 | # Redirect | ||
10 | include torbrowser-launcher.profile | ||
diff --git a/etc/torbrowser-launcher.profile b/etc/torbrowser-launcher.profile index 75bcb04b4..00b82e852 100644 --- a/etc/torbrowser-launcher.profile +++ b/etc/torbrowser-launcher.profile | |||
@@ -48,7 +48,7 @@ shell none | |||
48 | #tracelog | 48 | #tracelog |
49 | 49 | ||
50 | disable-mnt | 50 | disable-mnt |
51 | private-bin bash,cat,cp,cut,dirname,env,expr,file,getconf,gpg,grep,gxmessage,id,kdialog,ln,mkdir,pwd,python*,readlink,realpath,rm,sed,sh,tail,tar,tclsh,test,tor-browser-en,torbrowser-launcher,update-desktop-database,xmessage,xz,zenity | 51 | private-bin bash,cat,cp,cut,dirname,env,expr,file,getconf,gpg,grep,gxmessage,id,kdialog,ln,mkdir,mv,pwd,python*,readlink,realpath,rm,sed,sh,tail,tar,tclsh,test,tor-browser,tor-browser-en,torbrowser-launcher,update-desktop-database,xmessage,xz,zenity |
52 | private-dev | 52 | private-dev |
53 | private-etc alsa,alternatives,asound.conf,ca-certificates,crypto-policies,fonts,hostname,hosts,ld.so.cache,machine-id,pki,pulse,resolv.conf,ssl | 53 | private-etc alsa,alternatives,asound.conf,ca-certificates,crypto-policies,fonts,hostname,hosts,ld.so.cache,machine-id,pki,pulse,resolv.conf,ssl |
54 | private-tmp | 54 | private-tmp |