Skip to content

Commit

Permalink
docs: mention inconsistent homedir bug involving --private=dir
Browse files Browse the repository at this point in the history
And the workaround suggested by @smitsohu[1] and @rusty-snake[2].

Relates to netblue30#903 netblue30#5048.

[1] netblue30#903 (comment)
[2] netblue30#5048 (comment)
  • Loading branch information
kmk3 committed Mar 15, 2022
1 parent 75eb5ed commit 94368a3
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/man/firejail-profile.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
11 changes: 11 additions & 0 deletions src/man/firejail.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 94368a3

Please sign in to comment.