From 75073e0e4a1ab646810a88010f91b43d0ba5d816 Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Sat, 22 Jan 2022 16:25:17 -0300 Subject: man: mention that private-bin and private-etc are cumulative This amends commit ac6c8c038 ("fix #4078", 2022-01-21). Fixes #4078. --- src/man/firejail-profile.txt | 4 ++-- src/man/firejail.txt | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/man/firejail-profile.txt b/src/man/firejail-profile.txt index f4f157b9e..1dc4ca7cf 100644 --- a/src/man/firejail-profile.txt +++ b/src/man/firejail-profile.txt @@ -349,7 +349,7 @@ Build a new /bin in a temporary filesystem, and copy the programs in the list. The files in the list must be expressed as relative to the /bin, /sbin, /usr/bin, /usr/sbin, or /usr/local/bin directories. The same directory is also bind-mounted over /sbin, /usr/bin and /usr/sbin. -Multiple private-bin commands are allowed. +Multiple private-bin commands are allowed and they accumulate. .TP \fBprivate-cache Mount an empty temporary filesystem on top of the .cache directory in user home. All @@ -375,7 +375,7 @@ the /etc directory, and must not contain the / character (e.g., /etc/foo must be expressed as foo, but /etc/foo/bar -- expressed as foo/bar -- is disallowed). All modifications are discarded when the sandbox is closed. -Multiple private-etc commands are allowed. +Multiple private-etc commands are allowed and they accumulate. #ifdef HAVE_PRIVATE_HOME .TP \fBprivate-home file,directory diff --git a/src/man/firejail.txt b/src/man/firejail.txt index 385e8af28..b1a1fc8fd 100644 --- a/src/man/firejail.txt +++ b/src/man/firejail.txt @@ -1912,8 +1912,9 @@ The files in the list must be expressed as relative to the /bin, /sbin, /usr/bin, /usr/sbin, or /usr/local/bin directories. If no listed files are found, /bin directory will be empty. The same directory is also bind-mounted over /sbin, /usr/bin, /usr/sbin and /usr/local/bin. -All modifications are discarded when the sandbox is closed. File globbing is supported, -see \fBFILE GLOBBING\fR section for more details. +All modifications are discarded when the sandbox is closed. +Multiple private-bin commands are allowed and they accumulate. +File globbing is supported, see \fBFILE GLOBBING\fR section for more details. .br .br @@ -2009,6 +2010,7 @@ The files and directories in the list must be expressed as relative to the /etc directory (e.g., /etc/foo must be expressed as foo). If no listed file is found, /etc directory will be empty. All modifications are discarded when the sandbox is closed. +Multiple private-etc commands are allowed and they accumulate. .br .br -- cgit v1.2.3-70-g09d2