mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #338] Permission denied vs. Not found #240
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#240
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 @chiraag-nataraj on GitHub (Feb 29, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/338
This isn't really an issue, it's just more of a question.
I use private-bin in both firefox and libreoffice, and in both cases, the filter is extremely limited. When I join the libreoffice jail, I get a
<such and such>: not found. If, however, I join the firefox jail, I get a<such and such>: Permission denied. Why is there this difference?For reference, here is my firefox profile:
And here is my libreoffice profile:
@netblue30 commented on GitHub (Mar 2, 2016):
Give me some examples (command and output). There could be something there, I'll take a look. Thanks.
@chiraag-nataraj commented on GitHub (Mar 2, 2016):
Using the profiles in the OP,
versus
@netblue30 commented on GitHub (Mar 4, 2016):
It doesn't find /bin/cat, you need to add it to private-bin.
In your profiles, disable private-bin (comment it out with a #). Run "sudo firemon" in a different terminal. This will give you a list of all the programs the sandbox tries to run when you start the sandboxes. Then, you add all these programs to private-bin and enable it.
@chiraag-nataraj commented on GitHub (Mar 4, 2016):
I know it doesn't find /bin/cat (I didn't want it to). My point is that cat is blacklisted in both of the profiles, but each gives a different error message.
@netblue30 commented on GitHub (Mar 5, 2016):
I guess they are used interchangeably in the code, or even in some system utilities firejail calls during sandbox init.