mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #218] Whitelisting a folder is a bit tricky #151
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#151
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 @0xBRM on GitHub (Jan 11, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/218
Wanted to add the folder /home/cris (no, it's not the same as ~/cris ($HOME is /home/home on my machine) so I could fill it with stuff only firefox could access, like my locally hosted startpage, but the options
whitelist /home/cris/and/ornoblacklist /home/crisdo not work, as it still can't access my startpage, which is right there.I have read the man page and I would expect either option to work, so maybe you could shed some light on this.
@the8472 commented on GitHub (Jan 11, 2016):
man page says:
Note that it says user home not
/home@0xBRM commented on GitHub (Jan 11, 2016):
In which case shouldn't
noblacklistdo what I want?@the8472 commented on GitHub (Jan 11, 2016):
If you're running firejail as non-root it mounts a tmpfs over
/homeand then bind-mounts only that one user back into the tmpfs.Running as root and then using su to change to that particular user inside the jail might work.
@0xBRM commented on GitHub (Jan 11, 2016):
Question: would creating a user called cris with the home set to /home/cris fix this issue?
@the8472 commented on GitHub (Jan 11, 2016):
if you run the jail under that user, probably.