diff options
author | netblue30 <netblue30@yahoo.com> | 2016-11-30 12:59:48 -0500 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2016-11-30 12:59:48 -0500 |
commit | 7c1ed2fb0525cb1f1dcb5e08bf52756b7ac863ed (patch) | |
tree | 2891cf9b5fc96aac148306b672075847a9841198 /src/man/firejail.txt | |
parent | profiles (diff) | |
download | firejail-7c1ed2fb0525cb1f1dcb5e08bf52756b7ac863ed.tar.gz firejail-7c1ed2fb0525cb1f1dcb5e08bf52756b7ac863ed.tar.zst firejail-7c1ed2fb0525cb1f1dcb5e08bf52756b7ac863ed.zip |
private-opt, private-srv
Diffstat (limited to 'src/man/firejail.txt')
-rw-r--r-- | src/man/firejail.txt | 26 |
1 files changed, 26 insertions, 0 deletions
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, \\ | |||
1179 | nsswitch.conf,passwd,resolv.conf | 1179 | nsswitch.conf,passwd,resolv.conf |
1180 | 1180 | ||
1181 | .TP | 1181 | .TP |
1182 | \fB\-\-private-opt=file,directory | ||
1183 | Build a new /opt in a temporary | ||
1184 | filesystem, and copy the files and directories in the list. | ||
1185 | If no listed file is found, /opt directory will be empty. | ||
1186 | All modifications are discarded when the sandbox is closed. | ||
1187 | .br | ||
1188 | |||
1189 | .br | ||
1190 | Example: | ||
1191 | .br | ||
1192 | $ firejail --private-opt=firefox /opt/firefox/firefox | ||
1193 | |||
1194 | .TP | ||
1195 | \fB\-\-private-srv=file,directory | ||
1196 | Build a new /srv in a temporary | ||
1197 | filesystem, and copy the files and directories in the list. | ||
1198 | If no listed file is found, /srv directory will be empty. | ||
1199 | All modifications are discarded when the sandbox is closed. | ||
1200 | .br | ||
1201 | |||
1202 | .br | ||
1203 | Example: | ||
1204 | .br | ||
1205 | # firejail --private-srv=www /etc/init.d/apache2 start | ||
1206 | |||
1207 | .TP | ||
1182 | \fB\-\-private-tmp | 1208 | \fB\-\-private-tmp |
1183 | Mount an empty temporary filesystem on top of /tmp directory whitelisting /tmp/.X11-unix. | 1209 | Mount an empty temporary filesystem on top of /tmp directory whitelisting /tmp/.X11-unix. |
1184 | .br | 1210 | .br |