mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1272] Can't run firefox with firejail outside of /usr/bin #867
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#867
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Isometries on GitHub (May 12, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1272
My firefox directory is in
/homeand firejail is unable to run it. It outputs:bin/bash: /home/user/firefox/firefox: No such file or directoryThe 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.@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).
@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.