aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar SkewedZeppelin <8296104+SkewedZeppelin@users.noreply.github.com>2019-08-01 03:16:36 +0000
committerLibravatar GitHub <noreply@github.com>2019-08-01 03:16:36 +0000
commit990ff70eca5ff1b7d57fdb79e87942756a8bc669 (patch)
tree8a5b30a3c6afcd989f88e949678b56cef7b3dd8f
parentMerge pull request #2884 from flacks/profiles/itch (diff)
parentAdd new Tor Browser alias (diff)
downloadfirejail-990ff70eca5ff1b7d57fdb79e87942756a8bc669.tar.gz
firejail-990ff70eca5ff1b7d57fdb79e87942756a8bc669.tar.zst
firejail-990ff70eca5ff1b7d57fdb79e87942756a8bc669.zip
Merge pull request #2885 from flacks/profiles/tor-browser
Add new Tor Browser alias
-rw-r--r--etc/disable-programs.inc1
-rw-r--r--etc/tor-browser.profile10
-rw-r--r--etc/torbrowser-launcher.profile2
-rw-r--r--src/firecfg/firecfg.config1
4 files changed, 13 insertions, 1 deletions
diff --git a/etc/disable-programs.inc b/etc/disable-programs.inc
index 89c6eb6bc..a8b883bd1 100644
--- a/etc/disable-programs.inc
+++ b/etc/disable-programs.inc
@@ -628,6 +628,7 @@ blacklist ${HOME}/.teeworlds
628blacklist ${HOME}/.thunderbird 628blacklist ${HOME}/.thunderbird
629blacklist ${HOME}/.tilp 629blacklist ${HOME}/.tilp
630blacklist ${HOME}/.tooling 630blacklist ${HOME}/.tooling
631blacklist ${HOME}/.tor-browser
631blacklist ${HOME}/.tor-browser-* 632blacklist ${HOME}/.tor-browser-*
632blacklist ${HOME}/.tor-browser_* 633blacklist ${HOME}/.tor-browser_*
633blacklist ${HOME}/.torcs 634blacklist ${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
4noblacklist ${HOME}/.tor-browser
5
6mkdir ${HOME}/.tor-browser
7whitelist ${HOME}/.tor-browser
8
9# Redirect
10include 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
50disable-mnt 50disable-mnt
51private-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 51private-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
52private-dev 52private-dev
53private-etc alsa,alternatives,asound.conf,ca-certificates,crypto-policies,fonts,hostname,hosts,ld.so.cache,machine-id,pki,pulse,resolv.conf,ssl 53private-etc alsa,alternatives,asound.conf,ca-certificates,crypto-policies,fonts,hostname,hosts,ld.so.cache,machine-id,pki,pulse,resolv.conf,ssl
54private-tmp 54private-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
561thunderbird-beta 561thunderbird-beta
562thunderbird-wayland 562thunderbird-wayland
563tilp 563tilp
564tor-browser
564tor-browser-ar 565tor-browser-ar
565tor-browser-ca 566tor-browser-ca
566tor-browser-cs 567tor-browser-cs