aboutsummaryrefslogtreecommitdiffstats
path: root/src/man
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-11-30 12:59:48 -0500
committerLibravatar netblue30 <netblue30@yahoo.com>2016-11-30 12:59:48 -0500
commit7c1ed2fb0525cb1f1dcb5e08bf52756b7ac863ed (patch)
tree2891cf9b5fc96aac148306b672075847a9841198 /src/man
parentprofiles (diff)
downloadfirejail-7c1ed2fb0525cb1f1dcb5e08bf52756b7ac863ed.tar.gz
firejail-7c1ed2fb0525cb1f1dcb5e08bf52756b7ac863ed.tar.zst
firejail-7c1ed2fb0525cb1f1dcb5e08bf52756b7ac863ed.zip
private-opt, private-srv
Diffstat (limited to 'src/man')
-rw-r--r--src/man/firejail-profile.txt12
-rw-r--r--src/man/firejail.txt26
2 files changed, 37 insertions, 1 deletions
diff --git a/src/man/firejail-profile.txt b/src/man/firejail-profile.txt
index d6113218c..007374c75 100644
--- a/src/man/firejail-profile.txt
+++ b/src/man/firejail-profile.txt
@@ -181,7 +181,7 @@ closed.
181\fBprivate directory 181\fBprivate directory
182Use directory as user home. 182Use directory as user home.
183.TP 183.TP
184\f\private-home file,directory 184\fBprivate-home file,directory
185Build a new user home in a temporary 185Build a new user home in a temporary
186filesystem, and copy the files and directories in the list in the 186filesystem, and copy the files and directories in the list in the
187new home. All modifications are discarded when the sandbox is 187new home. All modifications are discarded when the sandbox is
@@ -199,6 +199,16 @@ Build a new /etc in a temporary
199filesystem, and copy the files and directories in the list. 199filesystem, and copy the files and directories in the list.
200All modifications are discarded when the sandbox is closed. 200All modifications are discarded when the sandbox is closed.
201.TP 201.TP
202\fBprivate-opt file,directory
203Build a new /optin a temporary
204filesystem, and copy the files and directories in the list.
205All modifications are discarded when the sandbox is closed.
206.TP
207\fBprivate-srv file,directory
208Build a new /srv in a temporary
209filesystem, and copy the files and directories in the list.
210All modifications are discarded when the sandbox is closed.
211.TP
202\fBprivate-tmp 212\fBprivate-tmp
203Mount an empty temporary filesystem on top of /tmp directory whitelisting /tmp/.X11-unix. 213Mount an empty temporary filesystem on top of /tmp directory whitelisting /tmp/.X11-unix.
204.TP 214.TP
diff --git a/src/man/firejail.txt b/src/man/firejail.txt
index 8441f25d5..450f30c68 100644
--- a/src/man/firejail.txt
+++ b/src/man/firejail.txt
@@ -1179,6 +1179,32 @@ $ firejail --private-etc=group,hostname,localtime, \\
1179nsswitch.conf,passwd,resolv.conf 1179nsswitch.conf,passwd,resolv.conf
1180 1180
1181.TP 1181.TP
1182\fB\-\-private-opt=file,directory
1183Build a new /opt in a temporary
1184filesystem, and copy the files and directories in the list.
1185If no listed file is found, /opt directory will be empty.
1186All modifications are discarded when the sandbox is closed.
1187.br
1188
1189.br
1190Example:
1191.br
1192$ firejail --private-opt=firefox /opt/firefox/firefox
1193
1194.TP
1195\fB\-\-private-srv=file,directory
1196Build a new /srv in a temporary
1197filesystem, and copy the files and directories in the list.
1198If no listed file is found, /srv directory will be empty.
1199All modifications are discarded when the sandbox is closed.
1200.br
1201
1202.br
1203Example:
1204.br
1205# firejail --private-srv=www /etc/init.d/apache2 start
1206
1207.TP
1182\fB\-\-private-tmp 1208\fB\-\-private-tmp
1183Mount an empty temporary filesystem on top of /tmp directory whitelisting /tmp/.X11-unix. 1209Mount an empty temporary filesystem on top of /tmp directory whitelisting /tmp/.X11-unix.
1184.br 1210.br