diff options
author | creideiki <creideiki@ferretporn.se> | 2020-01-05 12:52:13 +0100 |
---|---|---|
committer | rusty-snake <print_hello_world+Public@protonmail.com> | 2020-01-05 11:52:13 +0000 |
commit | a849f8c55e954914eb16c3582e344997f8706ea1 (patch) | |
tree | bc5d8374059beaeec46e00e1b36e4bf57bdcd437 /etc | |
parent | Use nowhitelist in sylpheed.profile (diff) | |
download | firejail-a849f8c55e954914eb16c3582e344997f8706ea1.tar.gz firejail-a849f8c55e954914eb16c3582e344997f8706ea1.tar.zst firejail-a849f8c55e954914eb16c3582e344997f8706ea1.zip |
Allow Tor Browser to run /usr/bin/id (#3114)
The start-tor-browser script tries to run /usr/bin/id to check that
it isn't root before starting the browser. See
https://gitweb.torproject.org/builders/tor-browser-build.git/tree/projects/tor-browser/RelativeLink/start-tor-browser?id=41fd236bbb7d3d75a27473f927be31f7dd8fdc99#n94
If id is not in the private-bin directory, the test still works by
accident, but prints these error messages:
./Browser/start-tor-browser: line 94: id: command not found
./Browser/start-tor-browser: line 94: [: : integer expression expected
Add id to the private-bin directory to make it run as intended.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/torbrowser-launcher.profile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/torbrowser-launcher.profile b/etc/torbrowser-launcher.profile index 1183cd2f7..be03afdb5 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,gpg,grep,gxmessage,kdialog,ln,mkdir,mv,python*,rm,sed,sh,tail,tar,tclsh,test,tor-browser,tor-browser-en,torbrowser-launcher,update-desktop-database,xmessage,xz,zenity | 51 | private-bin bash,cat,cp,cut,dirname,env,expr,file,gpg,grep,gxmessage,id,kdialog,ln,mkdir,mv,python*,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,ld.so.cache,machine-id,pki,pulse,resolv.conf,ssl | 53 | private-etc alsa,alternatives,asound.conf,ca-certificates,crypto-policies,fonts,ld.so.cache,machine-id,pki,pulse,resolv.conf,ssl |
54 | private-tmp | 54 | private-tmp |