aboutsummaryrefslogtreecommitdiffstats
path: root/src/man/firejail-profile.txt
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2020-04-13 10:07:13 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2020-04-13 10:07:13 -0400
commit4911e36ca55d1061a47b68e54ba2229d4c2c6c1a (patch)
treef25c2b8a262168715d77dff1fbfc99ceea7ba198 /src/man/firejail-profile.txt
parentMerge pull request #3347 from aerusso/pulls/documentation-globbing (diff)
downloadfirejail-4911e36ca55d1061a47b68e54ba2229d4c2c6c1a.tar.gz
firejail-4911e36ca55d1061a47b68e54ba2229d4c2c6c1a.tar.zst
firejail-4911e36ca55d1061a47b68e54ba2229d4c2c6c1a.zip
suport mkdir and mkfile for /run/user/<PID> directory (#3346)
Diffstat (limited to 'src/man/firejail-profile.txt')
-rw-r--r--src/man/firejail-profile.txt14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/man/firejail-profile.txt b/src/man/firejail-profile.txt
index 6405fd301..df2d2a2e8 100644
--- a/src/man/firejail-profile.txt
+++ b/src/man/firejail-profile.txt
@@ -211,7 +211,7 @@ Disable /mnt, /media, /run/mount and /run/media access.
211/var/tmp directory is untouched. 211/var/tmp directory is untouched.
212.TP 212.TP
213\fBmkdir directory 213\fBmkdir directory
214Create a directory in user home or under /tmp before the sandbox is started. 214Create a directory in user home, under /tmp, or under /run/user/<UID> before the sandbox is started.
215The directory is created if it doesn't already exist. 215The directory is created if it doesn't already exist.
216.br 216.br
217 217
@@ -230,10 +230,18 @@ whitelist ~/.mozilla
230mkdir ~/.cache/mozilla/firefox 230mkdir ~/.cache/mozilla/firefox
231.br 231.br
232whitelist ~/.cache/mozilla/firefox 232whitelist ~/.cache/mozilla/firefox
233.br
234
235.br
236For files in /run/user/<PID> use ${RUNUSER} macro:
237.br
238
239.br
240mkdir ${RUNUSER}/firejail-testing
233.TP 241.TP
234\fBmkfile file 242\fBmkfile file
235Similar to mkdir, this command creates a file in user home or under /tmp before the sandbox is started. 243Similar to mkdir, this command creates an empty file in user home, or /tmp, or under /run/user/<UID>
236The file is created if it doesn't already exist. 244before the sandbox is started. The file is created if it doesn't already exist.
237.TP 245.TP
238\fBnoexec file_or_directory 246\fBnoexec file_or_directory
239Remount the file or the directory noexec, nodev and nosuid. 247Remount the file or the directory noexec, nodev and nosuid.