mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #119] Private /tmp #77
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#77
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 @xmikos on GitHub (Nov 6, 2015).
Original GitHub issue: https://github.com/netblue30/firejail/issues/119
It would be great if you can add
--private-tmpoption (to make/tmpprivate). There could be many information leaks and sensitive files in /tmp (like /tmp/xauth* files, unix sockets for many apps running outside of sandbox, etc.).It would also need option to make some files/directories in /tmp shared with host (bind-mounted). Btw. is there similar option for
--private(shared directory inside $HOME using bind-mount)? I didn't find it,--private-home=somethingseems to only copy files/directories inside private home. And--bind=src,dstisn't useful because it needs root.@netblue30 commented on GitHub (Nov 12, 2015):
All done.
Mount an empty, temporary filesystem on top of /tmp:
Whitelist support for /tmp directory (similar to home directory whitelisting):
You can add as many --whitelist commands as you need, you can also mix them with home directory whitelists (--whitelist=~/.mozilla).
I intend to add support for whitelisting /etc and /dev. If you need anything else, let me know.