docs: better description of blacklist keyword in man pages

This commit is contained in:
powerjungle 2025-01-18 18:14:41 +00:00
parent 12ca9315fb
commit 08a2f0e0e7
No known key found for this signature in database
GPG key ID: 190C37B0F8665DA8
2 changed files with 23 additions and 2 deletions

View file

@ -248,7 +248,21 @@ for more details.
Examples: Examples:
.TP .TP
\fBblacklist file_or_directory \fBblacklist file_or_directory
Blacklist directory or file. Examples: Blacklist directory or file. This makes a file or directory
completely inaccessible. All other files and directories are unaffected.
The blacklisted file or directory is still visible on the filesystem,
even if it's inaccessible.
.br
.br
Symbolic link handling: Blacklisting a path that is a symbolic link will also
blacklist the path that it points to.
For example, if ~/foo is blacklisted and it points to /bar, then /bar will also
be blacklisted.
.br
.br
Examples:
.br .br
.br .br

View file

@ -190,7 +190,10 @@ Example:
# firejail \-\-bind=/config/etc/passwd,/etc/passwd # firejail \-\-bind=/config/etc/passwd,/etc/passwd
.TP .TP
\fB\-\-blacklist=dirname_or_filename \fB\-\-blacklist=dirname_or_filename
Blacklist directory or file. File globbing is supported, see \fBFILE GLOBBING\fR section for more details. Blacklist directory or file. This makes a file or directory
completely inaccessible. All other files and directories are unaffected.
The blacklisted file or directory is still visible on the filesystem,
even if it's inaccessible.
.br .br
.br .br
@ -200,6 +203,10 @@ For example, if ~/foo is blacklisted and it points to /bar, then /bar will also
be blacklisted. be blacklisted.
.br .br
.br
File globbing is supported, see \fBFILE GLOBBING\fR section for more details.
.br
.br .br
Example: Example:
.br .br