diff options
author | netblue30 <netblue30@yahoo.com> | 2020-04-13 10:07:13 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2020-04-13 10:07:13 -0400 |
commit | 4911e36ca55d1061a47b68e54ba2229d4c2c6c1a (patch) | |
tree | f25c2b8a262168715d77dff1fbfc99ceea7ba198 /src/man | |
parent | Merge pull request #3347 from aerusso/pulls/documentation-globbing (diff) | |
download | firejail-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')
-rw-r--r-- | src/man/firejail-profile.txt | 14 |
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 |
214 | Create a directory in user home or under /tmp before the sandbox is started. | 214 | Create a directory in user home, under /tmp, or under /run/user/<UID> before the sandbox is started. |
215 | The directory is created if it doesn't already exist. | 215 | The directory is created if it doesn't already exist. |
216 | .br | 216 | .br |
217 | 217 | ||
@@ -230,10 +230,18 @@ whitelist ~/.mozilla | |||
230 | mkdir ~/.cache/mozilla/firefox | 230 | mkdir ~/.cache/mozilla/firefox |
231 | .br | 231 | .br |
232 | whitelist ~/.cache/mozilla/firefox | 232 | whitelist ~/.cache/mozilla/firefox |
233 | .br | ||
234 | |||
235 | .br | ||
236 | For files in /run/user/<PID> use ${RUNUSER} macro: | ||
237 | .br | ||
238 | |||
239 | .br | ||
240 | mkdir ${RUNUSER}/firejail-testing | ||
233 | .TP | 241 | .TP |
234 | \fBmkfile file | 242 | \fBmkfile file |
235 | Similar to mkdir, this command creates a file in user home or under /tmp before the sandbox is started. | 243 | Similar to mkdir, this command creates an empty file in user home, or /tmp, or under /run/user/<UID> |
236 | The file is created if it doesn't already exist. | 244 | before 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 |
239 | Remount the file or the directory noexec, nodev and nosuid. | 247 | Remount the file or the directory noexec, nodev and nosuid. |