diff options
-rw-r--r-- | etc/disable-programs.inc | 1 | ||||
-rw-r--r-- | etc/tor-browser.profile | 10 | ||||
-rw-r--r-- | etc/torbrowser-launcher.profile | 2 | ||||
-rw-r--r-- | src/firecfg/firecfg.config | 1 |
4 files changed, 13 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 |
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config index daf7a5621..eeba40417 100644 --- a/src/firecfg/firecfg.config +++ b/src/firecfg/firecfg.config | |||
@@ -561,6 +561,7 @@ thunderbird | |||
561 | thunderbird-beta | 561 | thunderbird-beta |
562 | thunderbird-wayland | 562 | thunderbird-wayland |
563 | tilp | 563 | tilp |
564 | tor-browser | ||
564 | tor-browser-ar | 565 | tor-browser-ar |
565 | tor-browser-ca | 566 | tor-browser-ca |
566 | tor-browser-cs | 567 | tor-browser-cs |