mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1234] Support whitelisting in overlayfs #840
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#840
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 @laniakea64 on GitHub (Apr 19, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1234
firejail self-build from
f94b3bb275Xubuntu 16.04
While tweaking profiles, I noticed a significant difference in behavior of the home directory in a
--overlay-tmpfssandbox compared to a non-overlay sandbox.Steps to reproduce:
~/Documents/Goo.profile-In the sandbox, run these commands -
--overlay-tmpfswith that profile -Repeat the same commands in the sandbox.
Expected results: No difference in behavior inside the sandbox.
Actual results: In the non-overlay sandbox, only the whitelisted files/folders are listed. Whereas in the
--overlay-tmpfssandbox, everything in the home directory is listed.Some bisecting seems to point to
567585fe3bas when this difference started.Is this difference intended? If so, is there a better way to "restore" the non-overlay behavior than using
blacklist ${HOME}/*and a lot ofnoblacklist?@netblue30 commented on GitHub (Apr 20, 2017):
This is what I get:
Whitelists are disabled when using overlayfs. I'll try to add support for them in a future version.
@chiraag-nataraj commented on GitHub (Aug 20, 2018):
This seems to be fixed. @laniakea64, please feel free to re-open if you still have this issue.
@laniakea64 commented on GitHub (Aug 20, 2018):
I do not see this issue in self build from
1e13e50799. Thanks for the fix! 😃