mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1122] $HOME not set properly with --user option #771
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#771
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 @xrisk on GitHub (Mar 3, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1122
It appears that whenever I use
--useroption$HOMEis always set to /root. Is this the correct behaviour? Even if I specify the home directory to be used with--private=it is not respected.@netblue30 commented on GitHub (Mar 3, 2017):
You are running a very old version, --user option was removed. Do a software update, there have been all kind of fixes since.
@xrisk commented on GitHub (Mar 3, 2017):
Oh… I just got it from Ubuntu 16.04 default sources.
@netblue30 commented on GitHub (Mar 3, 2017):
It's very old. Most of the software in Ubuntu is kept at the version it was when 16.04 was released, and is not getting any updates. Grab a .deb package from here: https://sourceforge.net/projects/firejail/files/firejail/
In a terminal run:
@xrisk commented on GitHub (Mar 3, 2017):
Hmm. what was the reason for removing
--useroption. Is there something to replace it (I can't find it in manual) or do you recommend me to manually change user before calling firejail?@netblue30 commented on GitHub (Mar 4, 2017):
You can use sudo -u to switch to the proper user:
It was like reimplementing sudo in firejail, so I had to take it out.
@xrisk commented on GitHub (Mar 4, 2017):
Thank you for your help.
@netblue30 commented on GitHub (Mar 5, 2017):
You're welcome.