diff options
-rw-r--r-- | README.md | 16 | ||||
-rw-r--r-- | src/man/firejail.txt | 8 |
2 files changed, 15 insertions, 9 deletions
@@ -52,20 +52,20 @@ More information here: https://firejail.wordpress.com/documentation-2/x11-guide/ | |||
52 | 52 | ||
53 | ## File transfers | 53 | ## File transfers |
54 | ````` | 54 | ````` |
55 | FILE TRANSFERS | 55 | FILE TRANSFER |
56 | These features allow the user to inspect the file system container of | 56 | These features allow the user to inspect the file system container of |
57 | an existing sandbox and transfer files from the container to the host | 57 | an existing sandbox and transfer files from the container to the host |
58 | file system. | 58 | file system. |
59 | 59 | ||
60 | --get=name filename | 60 | --get=name filename |
61 | Retrieve the container file filename and store it on the host in | 61 | Retrieve the container file and store it on the host in the cur‐ |
62 | the current working directory. The container is spececified by | 62 | rent working directory. The container is spececified by name |
63 | name (--name option). Full path is needed for filename. | 63 | (--name option). Full path is needed for filename. |
64 | 64 | ||
65 | --get=pid filename | 65 | --get=pid filename |
66 | Retrieve the container file filename and store it on the host in | 66 | Retrieve the container file and store it on the host in the cur‐ |
67 | the current working directory. The container is spececified by | 67 | rent working directory. The container is spececified by process |
68 | process ID. Full path is needed for filename. | 68 | ID. Full path is needed for filename. |
69 | 69 | ||
70 | --ls=name dir_or_filename | 70 | --ls=name dir_or_filename |
71 | List container files. The container is spececified by name | 71 | List container files. The container is spececified by name |
@@ -77,6 +77,8 @@ FILE TRANSFERS | |||
77 | 77 | ||
78 | Examples: | 78 | Examples: |
79 | 79 | ||
80 | $ firejail --name=mybrowser --private firefox | ||
81 | |||
80 | $ firejail --ls=mybrowser ~/Downloads | 82 | $ firejail --ls=mybrowser ~/Downloads |
81 | drwxr-xr-x netblue netblue 4096 . | 83 | drwxr-xr-x netblue netblue 4096 . |
82 | drwxr-xr-x netblue netblue 4096 .. | 84 | drwxr-xr-x netblue netblue 4096 .. |
diff --git a/src/man/firejail.txt b/src/man/firejail.txt index a53d2d14e..fead4eaf5 100644 --- a/src/man/firejail.txt +++ b/src/man/firejail.txt | |||
@@ -1540,12 +1540,12 @@ and transfer files from the container to the host file system. | |||
1540 | 1540 | ||
1541 | .TP | 1541 | .TP |
1542 | \fB\-\-get=name filename | 1542 | \fB\-\-get=name filename |
1543 | Retrieve the container file filename and store it on the host in the current working directory. | 1543 | Retrieve the container file 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. | 1544 | The container is spececified by name (\-\-name option). Full path is needed for filename. |
1545 | 1545 | ||
1546 | .TP | 1546 | .TP |
1547 | \fB\-\-get=pid filename | 1547 | \fB\-\-get=pid filename |
1548 | Retrieve the container file filename and store it on the host in the current working directory. | 1548 | Retrieve the container file 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. | 1549 | The container is spececified by process ID. Full path is needed for filename. |
1550 | 1550 | ||
1551 | .TP | 1551 | .TP |
@@ -1565,6 +1565,10 @@ Examples: | |||
1565 | .br | 1565 | .br |
1566 | 1566 | ||
1567 | .br | 1567 | .br |
1568 | $ firejail \-\-name=mybrowser --private firefox | ||
1569 | .br | ||
1570 | |||
1571 | .br | ||
1568 | $ firejail \-\-ls=mybrowser ~/Downloads | 1572 | $ firejail \-\-ls=mybrowser ~/Downloads |
1569 | .br | 1573 | .br |
1570 | drwxr-xr-x netblue netblue 4096 . | 1574 | drwxr-xr-x netblue netblue 4096 . |