[GH-ISSUE #1272] Can't run firefox with firejail outside of /usr/bin #867

Closed
opened 2026-05-05 07:00:07 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @Isometries on GitHub (May 12, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1272

My firefox directory is in /home and firejail is unable to run it. It outputs:

bin/bash: /home/user/firefox/firefox: No such file or directory
The problem is resolved if I put my entire firefox directory into /usr/bin, but that prevents self-updating. Placing only the firefox binary gives a XPCOM error.

Originally created by @Isometries on GitHub (May 12, 2017). Original GitHub issue: https://github.com/netblue30/firejail/issues/1272 My firefox directory is in `/home` and firejail is unable to run it. It outputs: `bin/bash: /home/user/firefox/firefox: No such file or directory` The problem is resolved if I put my entire firefox directory into `/usr/bin`, but that prevents self-updating. Placing only the firefox binary gives a XPCOM error.
gitea-mirror 2026-05-05 07:00:07 -06:00
Author
Owner

@netblue30 commented on GitHub (May 12, 2017):

In /etc/firejail/firefox.profile add a "whitelist ~/firefox" line at the end of the file. Also, if you have in your profile a "noexec ${HOME}", comment it out (add a # in front of the line).

<!-- gh-comment-id:301084254 --> @netblue30 commented on GitHub (May 12, 2017): In /etc/firejail/firefox.profile add a "whitelist ~/firefox" line at the end of the file. Also, if you have in your profile a "noexec ${HOME}", comment it out (add a # in front of the line).
Author
Owner

@Isometries commented on GitHub (May 12, 2017):

That worked out just fine, although it didn't want to work if I hid the directory by ~/.firefox. It's alright though, thanks for the simple fix.

<!-- gh-comment-id:301166056 --> @Isometries commented on GitHub (May 12, 2017): That worked out just fine, although it didn't want to work if I hid the directory by `~/.firefox`. It's alright though, thanks for the simple fix.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#867
No description provided.