mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #627] Expand the directories that are possible for whitelisting #433
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#433
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 @pepa65 on GitHub (Jul 10, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/627
Currently only $HOME, /dev, /media, /opt, /var, and /tmp can be used for whitelisting. It would be very helpful there could be an option to include other directories.
Or if that is too cumbersome, perhaps could you allow for /data/ to be whitelisted?? I noticed one other person wanting to use that particular directory.
@netblue30 commented on GitHub (Jul 10, 2016):
Some other directories are covered by --private options:
--private-bin: handles /bin, /sbin, /usr/bin, /usr/sbin, /usr/local/bin, /usr/local/sbin
--private-etc: /etc
What other directory do you have in mind?
@pepa65 commented on GitHub (Jul 10, 2016):
/data
Sorry if it's not POSIX compliant... Otherwise I have to manually remove/modify a lot of whitelists in de default configs. But if you had a generic way of allowing people to choose, you wouldn't need to respond to every new request from erratic users. :-)
@netblue30 commented on GitHub (Jul 10, 2016):
No problem, it can definitely be done in a generic way. I also have a similar request for /lib and /usr/lib and such.
So, I will bring in a generic whitelist for any directory under /, and private-lib support.
@msva commented on GitHub (Mar 5, 2017):
@netblue30,
I'd VERY like to finally see that ASAP (and same for
mkdirtoo)! 😀Is it something that blocks you from doing that? Or, will you, at least, accept a PR with such modifications?
@chiraag-nataraj commented on GitHub (Jul 25, 2018):
Let's move this to #2041, since
private-libhas been added, but generic whitelist has not (yet) made it in.