mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #305] make mkdir recursive #213
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#213
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/305
This is a question-like issue currently, but I think a change is needed to avoid confusion:
Why isn't
mkdirinvoked by default when doingwhitelist?The possible pitfall I see with the current approach is that people might get confused:
Thoughts?
@manevich commented on GitHub (Feb 20, 2016):
Doing mkdir for everything whitelisted is wrong idea, there are many cases when whitlisted file/directory is used when available but not created by app.
Since new
mkdiroption implemented (see97a9d01868and3a71eb2af9commits) this is just about insufficient testing of profile.You can use
--privateoption in conjunction with your fresh profile to rule out such things, as in most cases it's about$HOME/.somethingdirectories.@netblue30 commented on GitHub (Feb 20, 2016):
We build only the directories strictly necessary for the application. For example, for Firefox we have ~/.mozilla and ~/.cache/mozilla/firefox. All other directories are only necessary to run some extensions, and we will let the user build them. We also have an "include /etc/firejail/whitelist-common.inc". This file deals with system configuration such as fonts, gtk etc.
@vn971 commented on GitHub (Feb 28, 2016):
OK to close. One small question if you don't mind though:
how do you think, would it make sense to make
mkdirrecursive?@netblue30 commented on GitHub (Feb 28, 2016):
Yes, I'll look into it.
@vn971 commented on GitHub (Feb 28, 2016):
Thanks!