[GH-ISSUE #3067] bin bash + not a directory - firejail is shutting down #1920

Closed
opened 2026-05-05 08:35:19 -06:00 by gitea-mirror · 6 comments
Owner

Originally created by @ghost on GitHub (Nov 28, 2019).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3067

Hi!

I can't run:

firejail --noprofile --nogroups --private=/path-to/ --private-dev --private-tmp --machine-id --noroot --caps.drop=all --seccomp --nosound --no3d /home/user/waterfox/waterfox

Output:
/bin/bash: /home/user/waterfox/waterfox: No such file or directory

This command works:
firejail --noprofile --dns=84.200.69.80 --dns=84.200.70.40 /home/user/waterfox/waterfox

What I've made wrong?

Originally created by @ghost on GitHub (Nov 28, 2019). Original GitHub issue: https://github.com/netblue30/firejail/issues/3067 Hi! I can't run: firejail --noprofile --nogroups --private=/path-to/ --private-dev --private-tmp --machine-id --noroot --caps.drop=all --seccomp --nosound --no3d /home/user/waterfox/waterfox Output: /bin/bash: /home/user/waterfox/waterfox: No such file or directory This command works: firejail --noprofile --dns=84.200.69.80 --dns=84.200.70.40 /home/user/waterfox/waterfox What I've made wrong?
gitea-mirror 2026-05-05 08:35:19 -06:00
Author
Owner

@smitsohu commented on GitHub (Nov 28, 2019):

The likely reason is that you did not copy the waterfox binary inside the /path-to/ directory. It needs to exist inside the sandbox.

<!-- gh-comment-id:559446333 --> @smitsohu commented on GitHub (Nov 28, 2019): The likely reason is that you did not copy the waterfox binary inside the `/path-to/` directory. It needs to exist inside the sandbox.
Author
Owner

@ghost commented on GitHub (Nov 28, 2019):

ah ok

<!-- gh-comment-id:559447526 --> @ghost commented on GitHub (Nov 28, 2019): ah ok
Author
Owner

@ghost commented on GitHub (Nov 28, 2019):

and why is that here working?

firejail --noprofile --dns=84.200.69.80 --dns=84.200.70.40 /home/user/waterfox/waterfox

<!-- gh-comment-id:559484492 --> @ghost commented on GitHub (Nov 28, 2019): and why is that here working? firejail --noprofile --dns=84.200.69.80 --dns=84.200.70.40 /home/user/waterfox/waterfox
Author
Owner

@rusty-snake commented on GitHub (Nov 28, 2019):

because there is no --private=....

<!-- gh-comment-id:559488647 --> @rusty-snake commented on GitHub (Nov 28, 2019): because there is no `--private=...`.
Author
Owner

@rusty-snake commented on GitHub (Nov 28, 2019):

https://github.com/netblue30/firejail/issues/3047#issuecomment-556009503

<!-- gh-comment-id:559489297 --> @rusty-snake commented on GitHub (Nov 28, 2019): https://github.com/netblue30/firejail/issues/3047#issuecomment-556009503
Author
Owner

@rusty-snake commented on GitHub (Jan 17, 2020):

@trancemind65
I'm closing here due to inactivity, please fell free to reopen if you have more questions.

<!-- gh-comment-id:575726774 --> @rusty-snake commented on GitHub (Jan 17, 2020): @trancemind65 I'm closing here due to inactivity, please fell free to reopen if you have more questions.
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#1920
No description provided.