diff options
Diffstat (limited to 'src/man/firejail.txt')
-rw-r--r-- | src/man/firejail.txt | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/src/man/firejail.txt b/src/man/firejail.txt index 56a768614..a53d2d14e 100644 --- a/src/man/firejail.txt +++ b/src/man/firejail.txt | |||
@@ -8,6 +8,12 @@ Start a sandbox: | |||
8 | firejail [OPTIONS] [program and arguments] | 8 | firejail [OPTIONS] [program and arguments] |
9 | .RE | 9 | .RE |
10 | .PP | 10 | .PP |
11 | File transfer from an existing sandbox | ||
12 | .PP | ||
13 | .RS | ||
14 | firejail {\-\-ls | \-\-get} dir_or_filename | ||
15 | .RE | ||
16 | .PP | ||
11 | Network traffic shaping for an existing sandbox: | 17 | Network traffic shaping for an existing sandbox: |
12 | .PP | 18 | .PP |
13 | .RS | 19 | .RS |
@@ -392,6 +398,9 @@ $ firejail \-\-list | |||
392 | .br | 398 | .br |
393 | $ firejail \-\-fs.print=3272 | 399 | $ firejail \-\-fs.print=3272 |
394 | 400 | ||
401 | .TP | ||
402 | \fB\-\-get=name|pid filename | ||
403 | Get a file from sandbox container, see \fBFILE TRANSFER\fR section for more details. | ||
395 | 404 | ||
396 | .TP | 405 | .TP |
397 | \fB\-?\fR, \fB\-\-help\fR | 406 | \fB\-?\fR, \fB\-\-help\fR |
@@ -549,7 +558,11 @@ Security filters, cgroups and cpus configurations are not applied to the process | |||
549 | 558 | ||
550 | 559 | ||
551 | 560 | ||
561 | .TP | ||
562 | \fB\-\-ls=name|pid dir_or_filename | ||
563 | List files in sandbox container, see \fBFILE TRANSFER\fR section for more details. | ||
552 | 564 | ||
565 | \fB | ||
553 | 566 | ||
554 | .TP | 567 | .TP |
555 | \fB\-\-list | 568 | \fB\-\-list |
@@ -1521,6 +1534,54 @@ Example: | |||
1521 | .br | 1534 | .br |
1522 | $ firejail \-\-zsh | 1535 | $ firejail \-\-zsh |
1523 | 1536 | ||
1537 | .SH FILE TRANSFER | ||
1538 | These features allow the user to inspect the file system container of an existing sandbox | ||
1539 | and transfer files from the container to the host file system. | ||
1540 | |||
1541 | .TP | ||
1542 | \fB\-\-get=name filename | ||
1543 | Retrieve the container file filename and store it on the host in the current working directory. | ||
1544 | The container is spececified by name (\-\-name option). Full path is needed for filename. | ||
1545 | |||
1546 | .TP | ||
1547 | \fB\-\-get=pid filename | ||
1548 | Retrieve the container file filename and store it on the host in the current working directory. | ||
1549 | The container is spececified by process ID. Full path is needed for filename. | ||
1550 | |||
1551 | .TP | ||
1552 | \fB\-\-ls=name dir_or_filename | ||
1553 | List container files. | ||
1554 | The container is spececified by name (\-\-name option). | ||
1555 | Full path is needed for dir_or_filename. | ||
1556 | |||
1557 | .TP | ||
1558 | \fB\-\-ls=pid dir_or_filename | ||
1559 | List container files. | ||
1560 | The container is spececified by process ID. | ||
1561 | Full path is needed for dir_or_filename. | ||
1562 | |||
1563 | .TP | ||
1564 | Examples: | ||
1565 | .br | ||
1566 | |||
1567 | .br | ||
1568 | $ firejail \-\-ls=mybrowser ~/Downloads | ||
1569 | .br | ||
1570 | drwxr-xr-x netblue netblue 4096 . | ||
1571 | .br | ||
1572 | drwxr-xr-x netblue netblue 4096 .. | ||
1573 | .br | ||
1574 | -rw-r--r-- netblue netblue 7847 x11-x305.png | ||
1575 | .br | ||
1576 | -rw-r--r-- netblue netblue 6800 x11-x642.png | ||
1577 | .br | ||
1578 | -rw-r--r-- netblue netblue 34139 xpra-clipboard.png | ||
1579 | .br | ||
1580 | |||
1581 | .br | ||
1582 | $ firejail \-\-get=mybrowser ~/Downloads/xpra-clipboard.png | ||
1583 | |||
1584 | |||
1524 | .SH TRAFFIC SHAPING | 1585 | .SH TRAFFIC SHAPING |
1525 | Network bandwidth is an expensive resource shared among all sandboxes running on a system. | 1586 | Network bandwidth is an expensive resource shared among all sandboxes running on a system. |
1526 | Traffic shaping allows the user to increase network performance by controlling | 1587 | Traffic shaping allows the user to increase network performance by controlling |