diff options
author | netblue30 <netblue30@yahoo.com> | 2016-02-17 12:13:19 -0500 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2016-02-17 12:13:19 -0500 |
commit | 97a9d0186863f6afe1a003e7e390b1b369167531 (patch) | |
tree | 68b5d03aa5c88e96651516e628ce296935716014 /src/man/firejail-profile.txt | |
parent | cherrytree profile (diff) | |
download | firejail-97a9d0186863f6afe1a003e7e390b1b369167531.tar.gz firejail-97a9d0186863f6afe1a003e7e390b1b369167531.tar.zst firejail-97a9d0186863f6afe1a003e7e390b1b369167531.zip |
mkdir support in profile files
Diffstat (limited to 'src/man/firejail-profile.txt')
-rw-r--r-- | src/man/firejail-profile.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/man/firejail-profile.txt b/src/man/firejail-profile.txt index 3ebb11549..b46958bd4 100644 --- a/src/man/firejail-profile.txt +++ b/src/man/firejail-profile.txt | |||
@@ -134,6 +134,25 @@ Mount-bind directory1 on top of directory2. This option is only available when r | |||
134 | \fBbind file1,file2 | 134 | \fBbind file1,file2 |
135 | Mount-bind file1 on top of file2. This option is only available when running as root. | 135 | Mount-bind file1 on top of file2. This option is only available when running as root. |
136 | .TP | 136 | .TP |
137 | \fBmkdir directory | ||
138 | Create a directory in user home. Use this command for whitelisted directories you need to preserve | ||
139 | when the sandbox is closed. Subdirectories also need to be created using mkdir. Example from | ||
140 | firefox profile: | ||
141 | .br | ||
142 | |||
143 | .br | ||
144 | mkdir ~/.mozilla | ||
145 | .br | ||
146 | whitelist ~/.mozilla | ||
147 | .br | ||
148 | mkdir ~/.cache | ||
149 | .br | ||
150 | mkdir ~/.cache/mozilla | ||
151 | .br | ||
152 | mkdir ~/.cache/mozilla/firefox | ||
153 | .br | ||
154 | whitelist ~/.cache/mozilla/firefox | ||
155 | .TP | ||
137 | \fBprivate | 156 | \fBprivate |
138 | Mount new /root and /home/user directories in temporary | 157 | Mount new /root and /home/user directories in temporary |
139 | filesystems. All modifications are discarded when the sandbox is | 158 | filesystems. All modifications are discarded when the sandbox is |