aboutsummaryrefslogtreecommitdiffstats
path: root/src/man/firejail-profile.txt
diff options
context:
space:
mode:
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