From 94368a3434be0878b4261aa4f78fd065d884a105 Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Mon, 14 Mar 2022 18:43:30 -0300 Subject: 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 --- src/man/firejail-profile.txt | 11 +++++++++++ src/man/firejail.txt | 11 +++++++++++ 2 files changed, 22 insertions(+) (limited to 'src') diff --git a/src/man/firejail-profile.txt b/src/man/firejail-profile.txt index 46927ada9..7d8fe273a 100644 --- a/src/man/firejail-profile.txt +++ b/src/man/firejail-profile.txt @@ -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. diff --git a/src/man/firejail.txt b/src/man/firejail.txt index feb9e4e81..af71fe5cc 100644 --- a/src/man/firejail.txt +++ b/src/man/firejail.txt @@ -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 -- cgit v1.2.3-70-g09d2