From 0657c20377d6f8d80f143e9c6a336601c8bbd2e2 Mon Sep 17 00:00:00 2001 From: Reiner Herrmann Date: Sat, 30 Jul 2016 17:58:25 +0200 Subject: Allow recursive mkdir (Closes #305) --- src/man/firejail-profile.txt | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/man/firejail-profile.txt') diff --git a/src/man/firejail-profile.txt b/src/man/firejail-profile.txt index 504842a9e..7e33a6b45 100644 --- a/src/man/firejail-profile.txt +++ b/src/man/firejail-profile.txt @@ -136,7 +136,7 @@ The directory is created if it doesn't already exist. .br Use this command for whitelisted directories you need to preserve when the sandbox is closed. Without it, the application will create the directory, and the directory -will be deleted when the sandbox is closed. Subdirectories also need to be created using mkdir. Example from +will be deleted when the sandbox is closed. Subdirectories are recursively created. Example from firefox profile: .br @@ -145,17 +145,13 @@ mkdir ~/.mozilla .br whitelist ~/.mozilla .br -mkdir ~/.cache -.br -mkdir ~/.cache/mozilla -.br mkdir ~/.cache/mozilla/firefox .br whitelist ~/.cache/mozilla/firefox .TP \fBmkfile file Similar to mkdir, this command creates a file in user home before the sandbox is started. -The file is created if it doesn't already exist. +The file is created if it doesn't already exist, but it's target directory has to exist. .TP \fBnoexec file_or_directory Remount the file or the directory noexec, nodev and nosuid. -- cgit v1.2.3-70-g09d2