mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1000] support all user readable directories (except cfg.homedir) in --private-home #682
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#682
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 @thewisenerd on GitHub (Dec 23, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1000
I found the
--private-homeoption to be perfect for initializing a tmpfs$HOMEdirectory with a few files copied in, however, making it to read files only from user home top level directories is limiting for my use.I do not want to use the
--private=diroption as changes made todirfrom the sandboxed application are visible back in userspace. I do not also want, the hassles ofunshareand creating a private tmpfs mount.example:
I want to initialize
$HOMEas private fs with a.configdirectory, but I do not want to use my~/.configdirectory, but another directory such as~/sandbox/.config. Since fcopy takes the destination name fromstrrchr(fname, '/'), the end result would be a.configdirectory copied to$HOME/.confignevertheless.ps: I have implemented this at
b548a7b8e0and want to know if there's a better way to do this.@thewisenerd commented on GitHub (Dec 23, 2016):
nocontext: and this is issue #1000 (yay!)
@a-barinov commented on GitHub (Dec 21, 2017):
@netblue30, please add this to the next release - this is a truly helpful feature. Couple of use cases are: allowing to use system-wide parts for homedir templates and using homedir parts from eCryptfs.
@chiraag-nataraj commented on GitHub (May 20, 2019):
I don't think this is in yet. @thewisenerd, please feel free to create a pull request (but base it off the current master, obviously haha) if you've already implemented this and we'll take a look there. Thanks!