aboutsummaryrefslogtreecommitdiffstats
path: root/src/man/firejail-profile.txt
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-02-17 12:13:19 -0500
committerLibravatar netblue30 <netblue30@yahoo.com>2016-02-17 12:13:19 -0500
commit97a9d0186863f6afe1a003e7e390b1b369167531 (patch)
tree68b5d03aa5c88e96651516e628ce296935716014 /src/man/firejail-profile.txt
parentcherrytree profile (diff)
downloadfirejail-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.txt19
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
135Mount-bind file1 on top of file2. This option is only available when running as root. 135Mount-bind file1 on top of file2. This option is only available when running as root.
136.TP 136.TP
137\fBmkdir directory
138Create a directory in user home. Use this command for whitelisted directories you need to preserve
139when the sandbox is closed. Subdirectories also need to be created using mkdir. Example from
140firefox profile:
141.br
142
143.br
144mkdir ~/.mozilla
145.br
146whitelist ~/.mozilla
147.br
148mkdir ~/.cache
149.br
150mkdir ~/.cache/mozilla
151.br
152mkdir ~/.cache/mozilla/firefox
153.br
154whitelist ~/.cache/mozilla/firefox
155.TP
137\fBprivate 156\fBprivate
138Mount new /root and /home/user directories in temporary 157Mount new /root and /home/user directories in temporary
139filesystems. All modifications are discarded when the sandbox is 158filesystems. All modifications are discarded when the sandbox is