From 97a9d0186863f6afe1a003e7e390b1b369167531 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Wed, 17 Feb 2016 12:13:19 -0500 Subject: mkdir support in profile files --- src/man/firejail-profile.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'src/man/firejail-profile.txt') 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 \fBbind file1,file2 Mount-bind file1 on top of file2. This option is only available when running as root. .TP +\fBmkdir directory +Create a directory in user home. Use this command for whitelisted directories you need to preserve +when the sandbox is closed. Subdirectories also need to be created using mkdir. Example from +firefox profile: +.br + +.br +mkdir ~/.mozilla +.br +whitelist ~/.mozilla +.br +mkdir ~/.cache +.br +mkdir ~/.cache/mozilla +.br +mkdir ~/.cache/mozilla/firefox +.br +whitelist ~/.cache/mozilla/firefox +.TP \fBprivate Mount new /root and /home/user directories in temporary filesystems. All modifications are discarded when the sandbox is -- cgit v1.2.3-70-g09d2