mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #307] do not allow to start with incompatible settings: whitelist and private #214
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#214
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 @vn971 on GitHub (Feb 19, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/307
The setting
whitelist ${HOME}/***is absolutely incompatible withprivate.Please do not allow starting firejail with such a profile, possibly explaining the error. Reasoning: it's better to fail/stop fast for a security tool than to provide an "wrong"/strange behavior.
@manevich commented on GitHub (Feb 20, 2016):
I think there no incompatibility, just
--privateoption takes precedence, as more restricting one.For example, you can use stock profile with
whitelist, and--privateoption together to temporary get more restricting jail without rewriting profile.Or even write new profile like this
to get everything from standard profile, but empty $HOME
@vn971 commented on GitHub (Feb 20, 2016):
Hm. Ook, I think you're right, I was too quick with jumping to conclusions. The current behavior makes sense from that point of view.