Skip to content

Commit

Permalink
Merge pull request #5052 from kmk3/docs-private-bug
Browse files Browse the repository at this point in the history
docs: mention inconsistent homedir bug involving --private=dir
  • Loading branch information
netblue30 authored Mar 24, 2022
2 parents d127692 + 94368a3 commit a7cdb1f
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/man/firejail-profile.txt
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,18 @@ closed.
.TP
\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 a7cdb1f

Please sign in to comment.