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

xdg-open inside a jail can't open URLs in (not jailed) Firefox #3919

Open
faern opened this issue Jan 26, 2021 · 2 comments
Open

xdg-open inside a jail can't open URLs in (not jailed) Firefox #3919

faern opened this issue Jan 26, 2021 · 2 comments
Labels
sandbox-ipc Opening links and talking to programs outside of the sandbox (see #6462)

Comments

@faern
Copy link

faern commented Jan 26, 2021

I'm not running Firefox inside firejail. But I want to be able to click on links in other programs that are running inside a firejail jail. However it does not work. Just starting a shell in a jail with the default profile can reproduce the issue:

$ firejail
$ xdg-open https://example.com

Gives me an error dialogue saying:

Your Firefox profile cannot be loaded. It may be missing or inaccessible.

With --noprofile xdg-open does work. I'm pretty sure it's the blocked access to ~/.mozilla that is the problem here. Is there maybe a way to make xdg-open work without letting the jail access my firefox config folder? Even if this is unfixable the issue can be something people find when they try to search online for this problem.

Environment

  • Fedora 33 Workstation
  • Firejail 0.9.64
@rusty-snake
Copy link
Collaborator

rusty-snake commented Jan 27, 2021

Everything: https://github.com/netblue30/firejail/issues?q=open+links
Summary: #3471 (comment)

Is there maybe a way to make xdg-open work without letting the jail access my firefox config folder?

https://github.com/glitsj16/firejail-handler-http
https://github.com/glitsj16/firejail-handler-extra

#3881 (comment)

https://github.com/rusty-snake/fireurl

@rusty-snake
Copy link
Collaborator

FYI: #3881 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sandbox-ipc Opening links and talking to programs outside of the sandbox (see #6462)
Projects
None yet
Development

No branches or pull requests

3 participants