aboutsummaryrefslogtreecommitdiffstats
path: root/src/man
diff options
context:
space:
mode:
authorLibravatar startx2017 <vradu.startx@yandex.com>2020-09-30 09:09:05 -0400
committerLibravatar startx2017 <vradu.startx@yandex.com>2020-09-30 09:09:05 -0400
commitae62cf6c346a8440cbdb2dd88036ddae1825b268 (patch)
tree53673f142b964d102faad26cdfe77c7d1f0138d8 /src/man
parentmanpages: network configuration (diff)
downloadfirejail-ae62cf6c346a8440cbdb2dd88036ddae1825b268.tar.gz
firejail-ae62cf6c346a8440cbdb2dd88036ddae1825b268.tar.zst
firejail-ae62cf6c346a8440cbdb2dd88036ddae1825b268.zip
manpages: file transfer
Diffstat (limited to 'src/man')
-rw-r--r--src/man/firejail.txt17
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:
14firejail [OPTIONS] --appimage [appimage-file and arguments] 14firejail [OPTIONS] --appimage [appimage-file and arguments]
15.RE 15.RE
16.PP 16.PP
17#ifdef HAVE_FILE_TRANSFER
17File transfer from an existing sandbox 18File transfer from an existing sandbox
18.PP 19.PP
19.RS 20.RS
20firejail {\-\-ls | \-\-get | \-\-put} dir_or_filename 21firejail {\-\-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
24Network traffic shaping for an existing sandbox: 26Network 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
281Print content of file from sandbox container, see FILE TRANSFER section for more details. 284Print 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
285Place the sandbox in the specified control group. tasks-file is the full path of cgroup tasks file. 288Place 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
747Get a file from sandbox container, see \fBFILE TRANSFER\fR section for more details. 751Get 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
751Print options end exit. 755Print options end exit.
@@ -1043,9 +1047,11 @@ $ firejail \-\-list
10437064:netblue::firejail \-\-noroot xterm 10477064: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
1048List files in sandbox container, see \fBFILE TRANSFER\fR section for more details. 1053List 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
2002unix,inet,inet6,netlink 2008unix,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
2005Put a file in sandbox container, see \fBFILE TRANSFER\fR section for more details. 2012Put 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
2008Turn off Firejail's output. 2016Turn 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
3055These features allow the user to inspect the filesystem container of an existing sandbox 3064These features allow the user to inspect the filesystem container of an existing sandbox
3056and transfer files between the container and the host filesystem. 3065and 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
3113Option \-\-list prints a list of all sandboxes. The format 3122Option \-\-list prints a list of all sandboxes. The format
3114for each process entry is as follows: 3123for each process entry is as follows: