Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to set installation location #339

Open
t4777sd opened this issue Aug 5, 2018 · 5 comments
Open

Ability to set installation location #339

t4777sd opened this issue Aug 5, 2018 · 5 comments

Comments

@t4777sd
Copy link

t4777sd commented Aug 5, 2018

Right now where tor browser is installed is not configurable. It would be good to have a command switch, environment variable or something to set the directory where it will be installed.

@intrigeri
Copy link
Collaborator

intrigeri commented Aug 6, 2018 via email

@t4777sd
Copy link
Author

t4777sd commented Aug 6, 2018

The benefit is many systems assume Tor at specific locations in order to place it in a container. The browser launcher places tor in a nearly random location out of hundreds (depending on language, architecture, etc). The result is it is basically impossible to containerize it in a standard way.

@micahflee
Copy link
Collaborator

torbrowser-launcher comes with AppArmor profiles, which is basically a container. If we allowed it to go anywhere, it would break the AppArmor rules.

But you're right about the actual folder name not being consistent depending on language and architecture. It's always installed in ~/.local/share/torbrowser/tbb/, but on my system it's in ~/.local/share/torbrowser/tbb/x86_64/tor-browser_en-US because I have an x86_64 processor and my language is set to English.

One simple solution maybe is that torbrowser-launcher could create a symlink, so that something like ~/.local/share/torbrowser/tbb/tor-browser always points to the correct Tor Browser folder after you install it. Would that be helpful?

What type of container are you trying to use btw?

@t4777sd
Copy link
Author

t4777sd commented Sep 15, 2018

I am just installing tor browser manually now, so the use-case I had is no longer needed. I was going to write a qubes utility that utilized torbrowser-launcher to install tor browser then setup the firejail rules and desktop files for qubes. However, I decided to abandon it for now and just do manual installations. Tor does a good job of auto-updating. I utilize firejail as a container solution inside of a qubes VM (I liked your presentation on qubes btw).

However, due to the attack surface of firejail, I will be moving more towards selinux.

@intrigeri
Copy link
Collaborator

intrigeri commented Sep 15, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants