diff options
author | netblue30 <netblue30@yahoo.com> | 2016-09-04 13:52:16 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2016-09-04 13:52:16 -0400 |
commit | 6aad9ad431f749003b4eab7b91cfdd0f218852a2 (patch) | |
tree | 9b7d89269ff05af0a6259668a8e8c5a456ac7666 /src/man | |
parent | fixes (diff) | |
download | firejail-6aad9ad431f749003b4eab7b91cfdd0f218852a2.tar.gz firejail-6aad9ad431f749003b4eab7b91cfdd0f218852a2.tar.zst firejail-6aad9ad431f749003b4eab7b91cfdd0f218852a2.zip |
bringing back --private-home
Diffstat (limited to 'src/man')
-rw-r--r-- | src/man/firejail-profile.txt | 6 | ||||
-rw-r--r-- | src/man/firejail.txt | 13 |
2 files changed, 19 insertions, 0 deletions
diff --git a/src/man/firejail-profile.txt b/src/man/firejail-profile.txt index e3217bbff..51b45cd10 100644 --- a/src/man/firejail-profile.txt +++ b/src/man/firejail-profile.txt | |||
@@ -170,6 +170,12 @@ closed. | |||
170 | \fBprivate directory | 170 | \fBprivate directory |
171 | Use directory as user home. | 171 | Use directory as user home. |
172 | .TP | 172 | .TP |
173 | \f\private-home file,directory | ||
174 | Build a new user home in a temporary | ||
175 | filesystem, and copy the files and directories in the list in the | ||
176 | new home. All modifications are discarded when the sandbox is | ||
177 | closed. | ||
178 | .TP | ||
173 | \fBprivate-bin file,file | 179 | \fBprivate-bin file,file |
174 | Build a new /bin in a temporary filesystem, and copy the programs in the list. | 180 | Build a new /bin in a temporary filesystem, and copy the programs in the list. |
175 | The same directory is also bind-mounted over /sbin, /usr/bin and /usr/sbin. | 181 | The same directory is also bind-mounted over /sbin, /usr/bin and /usr/sbin. |
diff --git a/src/man/firejail.txt b/src/man/firejail.txt index dbb0df233..a5d3623b6 100644 --- a/src/man/firejail.txt +++ b/src/man/firejail.txt | |||
@@ -1086,6 +1086,19 @@ Example: | |||
1086 | $ firejail \-\-private=/home/netblue/firefox-home firefox | 1086 | $ firejail \-\-private=/home/netblue/firefox-home firefox |
1087 | 1087 | ||
1088 | .TP | 1088 | .TP |
1089 | \fB\-\-private-home=file,directory | ||
1090 | Build a new user home in a temporary | ||
1091 | filesystem, and copy the files and directories in the list in the | ||
1092 | new home. All modifications are discarded when the sandbox is | ||
1093 | closed. | ||
1094 | .br | ||
1095 | |||
1096 | .br | ||
1097 | Example: | ||
1098 | .br | ||
1099 | $ firejail \-\-private-home=.mozilla firefox | ||
1100 | |||
1101 | .TP | ||
1089 | \fB\-\-private-bin=file,file | 1102 | \fB\-\-private-bin=file,file |
1090 | Build a new /bin in a temporary filesystem, and copy the programs in the list. | 1103 | Build a new /bin in a temporary filesystem, and copy the programs in the list. |
1091 | If no listed file is found, /bin directory will be empty. | 1104 | If no listed file is found, /bin directory will be empty. |