mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #588] support home directory outside of /home #412
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#412
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 @4nd3r on GitHub (Jun 20, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/588
It would simplify firejailing system daemons, because many have homes under
/var/lib/etc.related #530
@netblue30 commented on GitHub (Jun 21, 2016):
The complexity of implementing user home outside /home directory is huge. I am not prepered to go there yet.
Servers are taken care of, regular home directories are empty:
@4nd3r commented on GitHub (Jun 21, 2016):
Okay, so, I was looking at transmission-daemon packaged in Debian. By default it runs as separate
debian-transmissionuser and home directory is in/var/lib/transmission-daemon/. As we know, to better seed different ISO files, it's good to have working port forwarding. But open port to machine is slippery road if someone discovers exploitable bug in transmission-daemon, lets add local privilege escalation and voila. Yeah, I know, it's a long shot and quite expensive attack vector to use, but still.Maybe I'm lazy, but without much hassle you could throw in wonderful firejail (just create firejail profile, disable packaged service file and create new) and be done with it. But of course one can always change
debian-transmissionhome path or runfirejail transmission-daemonas your own user instead and not use separate user.But thanks for your effort! I'm very pleased with firejail, but discovered this little annoyance yesterday and wondered how hard could it be!? Oh boy, was I wrong! If you say that it's complex then I can live with that :-) Cheers!