docs: mention inconsistent homedir bug involving --private=dir

And the workaround suggested by @smitsohu[1] and @rusty-snake[2].

Relates to #903 #5048.

[1] https://github.com/netblue30/firejail/issues/903#issuecomment-946673346
[2] https://github.com/netblue30/firejail/discussions/5048#discussioncomment-2360034
This commit is contained in:
Kelvin M. Klann 2022-03-14 18:43:30 -03:00
parent 75eb5ed1e0
commit 94368a3434
2 changed files with 22 additions and 0 deletions

View file

@ -344,6 +344,17 @@ closed.
\fBprivate directory
Use directory as user home.
--private and --private=directory cannot be used together.
.br
.br
Bug: Even with this enabled, some commands (such as mkdir, mkfile and
private-cache) will still operate on the original home directory.
Workaround: Disable the incompatible commands, such as by using "ignore mkdir"
and "ignore mkfile".
For details, see
.UR https://github.com/netblue30/firejail/issues/903
#903
.UE
.TP
\fBprivate-bin file,file
Build a new /bin in a temporary filesystem, and copy the programs in the list.

View file

@ -1905,6 +1905,17 @@ Use directory as user home.
Example:
.br
$ firejail \-\-private=/home/netblue/firefox-home firefox
.br
.br
Bug: Even with this enabled, some commands (such as mkdir, mkfile and
private-cache) will still operate on the original home directory.
Workaround: Disable the incompatible commands, such as by using "ignore mkdir"
and "ignore mkfile".
For details, see
.UR https://github.com/netblue30/firejail/issues/903
#903
.UE
.TP
\fB\-\-private-bin=file,file