aboutsummaryrefslogtreecommitdiffstats
path: root/src/man
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-09-04 13:52:16 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2016-09-04 13:52:16 -0400
commit6aad9ad431f749003b4eab7b91cfdd0f218852a2 (patch)
tree9b7d89269ff05af0a6259668a8e8c5a456ac7666 /src/man
parentfixes (diff)
downloadfirejail-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.txt6
-rw-r--r--src/man/firejail.txt13
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
171Use directory as user home. 171Use directory as user home.
172.TP 172.TP
173\f\private-home file,directory
174Build a new user home in a temporary
175filesystem, and copy the files and directories in the list in the
176new home. All modifications are discarded when the sandbox is
177closed.
178.TP
173\fBprivate-bin file,file 179\fBprivate-bin file,file
174Build a new /bin in a temporary filesystem, and copy the programs in the list. 180Build a new /bin in a temporary filesystem, and copy the programs in the list.
175The same directory is also bind-mounted over /sbin, /usr/bin and /usr/sbin. 181The 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
1090Build a new user home in a temporary
1091filesystem, and copy the files and directories in the list in the
1092new home. All modifications are discarded when the sandbox is
1093closed.
1094.br
1095
1096.br
1097Example:
1098.br
1099$ firejail \-\-private-home=.mozilla firefox
1100
1101.TP
1089\fB\-\-private-bin=file,file 1102\fB\-\-private-bin=file,file
1090Build a new /bin in a temporary filesystem, and copy the programs in the list. 1103Build a new /bin in a temporary filesystem, and copy the programs in the list.
1091If no listed file is found, /bin directory will be empty. 1104If no listed file is found, /bin directory will be empty.