diff options
Diffstat (limited to 'src/man')
-rw-r--r-- | src/man/firejail-profile.txt | 12 | ||||
-rw-r--r-- | src/man/firejail.txt | 14 |
2 files changed, 19 insertions, 7 deletions
diff --git a/src/man/firejail-profile.txt b/src/man/firejail-profile.txt index ddb736e81..9d11add06 100644 --- a/src/man/firejail-profile.txt +++ b/src/man/firejail-profile.txt | |||
@@ -295,7 +295,9 @@ Use the options no3d, nodvd, nosound, notv, nou2f and novideo for additional res | |||
295 | Build a new /etc in a temporary | 295 | Build a new /etc in a temporary |
296 | filesystem, and copy the files and directories in the list. | 296 | filesystem, and copy the files and directories in the list. |
297 | The files and directories in the list must be expressed as relative to | 297 | The files and directories in the list must be expressed as relative to |
298 | the /etc directory. | 298 | the /etc directory, and must not contain the / character |
299 | (e.g., /etc/foo must be expressed as foo, but /etc/foo/bar -- | ||
300 | expressed as foo/bar -- is disallowed). | ||
299 | All modifications are discarded when the sandbox is closed. | 301 | All modifications are discarded when the sandbox is closed. |
300 | #ifdef HAVE_PRIVATE_HOME | 302 | #ifdef HAVE_PRIVATE_HOME |
301 | .TP | 303 | .TP |
@@ -319,14 +321,18 @@ This feature is still under development, see \fBman 1 firejail\fR for some examp | |||
319 | Build a new /opt in a temporary | 321 | Build a new /opt in a temporary |
320 | filesystem, and copy the files and directories in the list. | 322 | filesystem, and copy the files and directories in the list. |
321 | The files and directories in the list must be expressed as relative to | 323 | The files and directories in the list must be expressed as relative to |
322 | the /opt directory. | 324 | the /opt directory, and must not contain the / character |
325 | (e.g., /opt/foo must be expressed as foo, but /opt/foo/bar -- | ||
326 | expressed as foo/bar -- is disallowed). | ||
323 | All modifications are discarded when the sandbox is closed. | 327 | All modifications are discarded when the sandbox is closed. |
324 | .TP | 328 | .TP |
325 | \fBprivate-srv file,directory | 329 | \fBprivate-srv file,directory |
326 | Build a new /srv in a temporary | 330 | Build a new /srv in a temporary |
327 | filesystem, and copy the files and directories in the list. | 331 | filesystem, and copy the files and directories in the list. |
328 | The files and directories in the list must be expressed as relative to | 332 | The files and directories in the list must be expressed as relative to |
329 | the /srv directory. | 333 | the /srv directory, and must not contain the / character |
334 | (e.g., /srv/foo must be expressed as foo, but /srv/foo/bar -- | ||
335 | expressed as foo/bar -- is disallowed). | ||
330 | All modifications are discarded when the sandbox is closed. | 336 | All modifications are discarded when the sandbox is closed. |
331 | .TP | 337 | .TP |
332 | \fBprivate-tmp | 338 | \fBprivate-tmp |
diff --git a/src/man/firejail.txt b/src/man/firejail.txt index c0640c404..23ec23fb1 100644 --- a/src/man/firejail.txt +++ b/src/man/firejail.txt | |||
@@ -1892,7 +1892,9 @@ $ | |||
1892 | Build a new /etc in a temporary | 1892 | Build a new /etc in a temporary |
1893 | filesystem, and copy the files and directories in the list. | 1893 | filesystem, and copy the files and directories in the list. |
1894 | The files and directories in the list must be expressed as relative to | 1894 | The files and directories in the list must be expressed as relative to |
1895 | the /etc directory. | 1895 | the /etc directory, and must not contain the / character |
1896 | (e.g., /etc/foo must be expressed as foo, but /etc/foo/bar -- | ||
1897 | expressed as foo/bar -- is disallowed). | ||
1896 | If no listed file is found, /etc directory will be empty. | 1898 | If no listed file is found, /etc directory will be empty. |
1897 | All modifications are discarded when the sandbox is closed. | 1899 | All modifications are discarded when the sandbox is closed. |
1898 | .br | 1900 | .br |
@@ -1902,7 +1904,7 @@ Example: | |||
1902 | .br | 1904 | .br |
1903 | $ firejail --private-etc=group,hostname,localtime, \\ | 1905 | $ firejail --private-etc=group,hostname,localtime, \\ |
1904 | .br | 1906 | .br |
1905 | nsswitch.conf,passwd,resolv.conf,default/motd-news | 1907 | nsswitch.conf,passwd,resolv.conf |
1906 | #ifdef HAVE_PRIVATE_HOME | 1908 | #ifdef HAVE_PRIVATE_HOME |
1907 | .TP | 1909 | .TP |
1908 | \fB\-\-private-home=file,directory | 1910 | \fB\-\-private-home=file,directory |
@@ -1977,7 +1979,9 @@ $ | |||
1977 | Build a new /opt in a temporary | 1979 | Build a new /opt in a temporary |
1978 | filesystem, and copy the files and directories in the list. | 1980 | filesystem, and copy the files and directories in the list. |
1979 | The files and directories in the list must be expressed as relative to | 1981 | The files and directories in the list must be expressed as relative to |
1980 | the /opt directory. | 1982 | the /opt directory, and must not contain the / character |
1983 | (e.g., /opt/foo must be expressed as foo, but /opt/foo/bar -- | ||
1984 | expressed as foo/bar -- is disallowed). | ||
1981 | If no listed file is found, /opt directory will be empty. | 1985 | If no listed file is found, /opt directory will be empty. |
1982 | All modifications are discarded when the sandbox is closed. | 1986 | All modifications are discarded when the sandbox is closed. |
1983 | .br | 1987 | .br |
@@ -1992,7 +1996,9 @@ $ firejail --private-opt=firefox /opt/firefox/firefox | |||
1992 | Build a new /srv in a temporary | 1996 | Build a new /srv in a temporary |
1993 | filesystem, and copy the files and directories in the list. | 1997 | filesystem, and copy the files and directories in the list. |
1994 | The files and directories in the list must be expressed as relative to | 1998 | The files and directories in the list must be expressed as relative to |
1995 | the /srv directory. | 1999 | the /srv directory, and must not contain the / character |
2000 | (e.g., /opt/srv must be expressed as foo, but /srv/foo/bar -- | ||
2001 | expressed as srv/bar -- is disallowed). | ||
1996 | If no listed file is found, /srv directory will be empty. | 2002 | If no listed file is found, /srv directory will be empty. |
1997 | All modifications are discarded when the sandbox is closed. | 2003 | All modifications are discarded when the sandbox is closed. |
1998 | .br | 2004 | .br |