-
Notifications
You must be signed in to change notification settings - Fork 577
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: clarify filesystem directives #5388
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -254,6 +254,16 @@ blacklist /usr/bin/gcc* | |||||||||||||||||||
blacklist ${PATH}/ifconfig | ||||||||||||||||||||
.br | ||||||||||||||||||||
blacklist ${HOME}/.ssh | ||||||||||||||||||||
.br | ||||||||||||||||||||
|
||||||||||||||||||||
.br | ||||||||||||||||||||
Blacklisted files are visible, but will get ownership set to root:root | ||||||||||||||||||||
(unless the noroot option is active, in which case it'll be nobody:nobody). | ||||||||||||||||||||
They get a size of 0 bytes, permissions 400, and reset timestamps and extended attributes. | ||||||||||||||||||||
I/O operations (including deletes) on them will fail. | ||||||||||||||||||||
.br | ||||||||||||||||||||
Blacklisted directories are visible, but get permissions 400, | ||||||||||||||||||||
ownership set to root:root and reset timestamps. I/O operations on them will fail. | ||||||||||||||||||||
|
||||||||||||||||||||
.TP | ||||||||||||||||||||
\fBblacklist-nolog file_or_directory | ||||||||||||||||||||
|
@@ -269,9 +279,13 @@ blacklist-nolog /usr/bin/gcc* | |||||||||||||||||||
.TP | ||||||||||||||||||||
\fBbind directory1,directory2 | ||||||||||||||||||||
Mount-bind directory1 on top of directory2. This option is only available when running as root. | ||||||||||||||||||||
Directories will retain the ownership and permissions of the original directory being mounted over (directory2). | ||||||||||||||||||||
After termination, modificationss affect the overlay directory (directory1). | ||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Fix typo.
Comment on lines
+282
to
+283
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Shouldn't it be |
||||||||||||||||||||
.TP | ||||||||||||||||||||
\fBbind file1,file2 | ||||||||||||||||||||
Mount-bind file1 on top of file2. This option is only available when running as root. | ||||||||||||||||||||
Files will retain the ownership and permissions of the original file being mounted over (file2). | ||||||||||||||||||||
After termination, deletes do not persist but writes affect the overlayed file (file1). | ||||||||||||||||||||
Comment on lines
+287
to
+288
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Shouldn't it be |
||||||||||||||||||||
.TP | ||||||||||||||||||||
\fBdisable-mnt | ||||||||||||||||||||
Disable /mnt, /media, /run/mount and /run/media access. | ||||||||||||||||||||
|
@@ -434,7 +448,9 @@ Make directory or file read-only. | |||||||||||||||||||
Make directory or file read-write. | ||||||||||||||||||||
.TP | ||||||||||||||||||||
\fBtmpfs directory | ||||||||||||||||||||
Mount an empty tmpfs filesystem on top of directory. Directories outside user home or not owned by the user are not allowed. Sandboxes running as root are exempt from these restrictions. | ||||||||||||||||||||
Mount an empty tmpfs filesystem on top of directory. Changes do not persist after termination. | ||||||||||||||||||||
Directories outside user home or not owned by the user are not allowed. Sandboxes running as root are exempt from these restrictions. | ||||||||||||||||||||
This directive has no effect for files (they appear unmodified and changes persist after termination). | ||||||||||||||||||||
glitsj16 marked this conversation as resolved.
Show resolved
Hide resolved
Comment on lines
+451
to
+453
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Format. |
||||||||||||||||||||
.TP | ||||||||||||||||||||
\fBtracelog | ||||||||||||||||||||
Blacklist violations logged to syslog. | ||||||||||||||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clarify and format.