diff options
author | 2020-09-30 09:09:05 -0400 | |
---|---|---|
committer | 2020-09-30 09:09:05 -0400 | |
commit | ae62cf6c346a8440cbdb2dd88036ddae1825b268 (patch) | |
tree | 53673f142b964d102faad26cdfe77c7d1f0138d8 | |
parent | manpages: network configuration (diff) | |
download | firejail-ae62cf6c346a8440cbdb2dd88036ddae1825b268.tar.gz firejail-ae62cf6c346a8440cbdb2dd88036ddae1825b268.tar.zst firejail-ae62cf6c346a8440cbdb2dd88036ddae1825b268.zip |
manpages: file transfer
-rw-r--r-- | src/man/firejail.txt | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/src/man/firejail.txt b/src/man/firejail.txt index 1e355de8a..c4b0d384b 100644 --- a/src/man/firejail.txt +++ b/src/man/firejail.txt | |||
@@ -14,12 +14,14 @@ Start an AppImage program: | |||
14 | firejail [OPTIONS] --appimage [appimage-file and arguments] | 14 | firejail [OPTIONS] --appimage [appimage-file and arguments] |
15 | .RE | 15 | .RE |
16 | .PP | 16 | .PP |
17 | #ifdef HAVE_FILE_TRANSFER | ||
17 | File transfer from an existing sandbox | 18 | File transfer from an existing sandbox |
18 | .PP | 19 | .PP |
19 | .RS | 20 | .RS |
20 | firejail {\-\-ls | \-\-get | \-\-put} dir_or_filename | 21 | firejail {\-\-ls | \-\-get | \-\-put | \-\-cat} dir_or_filename |
21 | .RE | 22 | .RE |
22 | .PP | 23 | .PP |
24 | #endif | ||
23 | #ifdef HAVE_NETWORK | 25 | #ifdef HAVE_NETWORK |
24 | Network traffic shaping for an existing sandbox: | 26 | Network traffic shaping for an existing sandbox: |
25 | .PP | 27 | .PP |
@@ -276,10 +278,11 @@ $ firejail \-\-list | |||
276 | .br | 278 | .br |
277 | $ firejail \-\-caps.print=3272 | 279 | $ firejail \-\-caps.print=3272 |
278 | 280 | ||
281 | #ifdef HAVE_FILE_TRANSFER | ||
279 | .TP | 282 | .TP |
280 | \fB\-\-cat=name|pid filename | 283 | \fB\-\-cat=name|pid filename |
281 | Print content of file from sandbox container, see FILE TRANSFER section for more details. | 284 | Print content of file from sandbox container, see FILE TRANSFER section for more details. |
282 | 285 | #endif | |
283 | .TP | 286 | .TP |
284 | \fB\-\-cgroup=tasks-file | 287 | \fB\-\-cgroup=tasks-file |
285 | Place the sandbox in the specified control group. tasks-file is the full path of cgroup tasks file. | 288 | Place the sandbox in the specified control group. tasks-file is the full path of cgroup tasks file. |
@@ -742,10 +745,11 @@ $ firejail \-\-list | |||
742 | .br | 745 | .br |
743 | $ firejail \-\-fs.print=3272 | 746 | $ firejail \-\-fs.print=3272 |
744 | 747 | ||
748 | #ifdef HAVE_FILE_TRANSFER | ||
745 | .TP | 749 | .TP |
746 | \fB\-\-get=name|pid filename | 750 | \fB\-\-get=name|pid filename |
747 | Get a file from sandbox container, see \fBFILE TRANSFER\fR section for more details. | 751 | Get a file from sandbox container, see \fBFILE TRANSFER\fR section for more details. |
748 | 752 | #endif | |
749 | .TP | 753 | .TP |
750 | \fB\-?\fR, \fB\-\-help\fR | 754 | \fB\-?\fR, \fB\-\-help\fR |
751 | Print options end exit. | 755 | Print options end exit. |
@@ -1043,9 +1047,11 @@ $ firejail \-\-list | |||
1043 | 7064:netblue::firejail \-\-noroot xterm | 1047 | 7064:netblue::firejail \-\-noroot xterm |
1044 | .br | 1048 | .br |
1045 | #endif | 1049 | #endif |
1050 | #ifdef HAVE_FILE_TRANSFER | ||
1046 | .TP | 1051 | .TP |
1047 | \fB\-\-ls=name|pid dir_or_filename | 1052 | \fB\-\-ls=name|pid dir_or_filename |
1048 | List files in sandbox container, see \fBFILE TRANSFER\fR section for more details. | 1053 | List files in sandbox container, see \fBFILE TRANSFER\fR section for more details. |
1054 | #endif | ||
1049 | #ifdef HAVE_NETWORK | 1055 | #ifdef HAVE_NETWORK |
1050 | .TP | 1056 | .TP |
1051 | \fB\-\-mac=address | 1057 | \fB\-\-mac=address |
@@ -2000,9 +2006,11 @@ $ firejail \-\-list | |||
2000 | $ firejail \-\-protocol.print=3272 | 2006 | $ firejail \-\-protocol.print=3272 |
2001 | .br | 2007 | .br |
2002 | unix,inet,inet6,netlink | 2008 | unix,inet,inet6,netlink |
2009 | #ifdef HAVE_FILE_TRANSFER | ||
2003 | .TP | 2010 | .TP |
2004 | \fB\-\-put=name|pid src-filename dest-filename | 2011 | \fB\-\-put=name|pid src-filename dest-filename |
2005 | Put a file in sandbox container, see \fBFILE TRANSFER\fR section for more details. | 2012 | Put a file in sandbox container, see \fBFILE TRANSFER\fR section for more details. |
2013 | #endif | ||
2006 | .TP | 2014 | .TP |
2007 | \fB\-\-quiet | 2015 | \fB\-\-quiet |
2008 | Turn off Firejail's output. | 2016 | Turn off Firejail's output. |
@@ -3051,6 +3059,7 @@ $ firejail --blacklist=~/dir[1234] | |||
3051 | $ firejail --read-only=~/dir[1-4] | 3059 | $ firejail --read-only=~/dir[1-4] |
3052 | .br | 3060 | .br |
3053 | 3061 | ||
3062 | #ifdef HAVE_FILE_TRANSFER | ||
3054 | .SH FILE TRANSFER | 3063 | .SH FILE TRANSFER |
3055 | These features allow the user to inspect the filesystem container of an existing sandbox | 3064 | These features allow the user to inspect the filesystem container of an existing sandbox |
3056 | and transfer files between the container and the host filesystem. | 3065 | and transfer files between the container and the host filesystem. |
@@ -3108,7 +3117,7 @@ $ firejail \-\-put=mybrowser xpra-clipboard.png ~/Downloads/xpra-clipboard.png | |||
3108 | .br | 3117 | .br |
3109 | $ firejail \-\-cat=mybrowser ~/.bashrc | 3118 | $ firejail \-\-cat=mybrowser ~/.bashrc |
3110 | .br | 3119 | .br |
3111 | 3120 | #endif | |
3112 | .SH MONITORING | 3121 | .SH MONITORING |
3113 | Option \-\-list prints a list of all sandboxes. The format | 3122 | Option \-\-list prints a list of all sandboxes. The format |
3114 | for each process entry is as follows: | 3123 | for each process entry is as follows: |