aboutsummaryrefslogtreecommitdiffstats
path: root/src/man
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2015-10-12 07:58:56 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2015-10-12 07:58:56 -0400
commit38c8f9151c8874248a06ded439d74678f748df1e (patch)
tree708dae3b1c2cbf3a195fd899bb196be670aebc25 /src/man
parent--private-bin (diff)
downloadfirejail-38c8f9151c8874248a06ded439d74678f748df1e.tar.gz
firejail-38c8f9151c8874248a06ded439d74678f748df1e.tar.zst
firejail-38c8f9151c8874248a06ded439d74678f748df1e.zip
--private-bin
Diffstat (limited to 'src/man')
-rw-r--r--src/man/firejail-profile.txt4
-rw-r--r--src/man/firejail.txt19
2 files changed, 23 insertions, 0 deletions
diff --git a/src/man/firejail-profile.txt b/src/man/firejail-profile.txt
index e470cab36..1369fdc91 100644
--- a/src/man/firejail-profile.txt
+++ b/src/man/firejail-profile.txt
@@ -133,6 +133,10 @@ Mount new /root and /home/user directories in temporary
133filesystems. All modifications are discarded when the sandbox is 133filesystems. All modifications are discarded when the sandbox is
134closed. 134closed.
135.TP 135.TP
136\f\private-bin file,file
137Build a new /bin in a temporary filesystem, and copy the programs in the list.
138The same directory is also bind-mounted over /sbin, /usr/bin and /usr/sbin.
139.TP
136\f\private directory 140\f\private directory
137Use directory as user home. 141Use directory as user home.
138.TP 142.TP
diff --git a/src/man/firejail.txt b/src/man/firejail.txt
index af3a18746..00360e65b 100644
--- a/src/man/firejail.txt
+++ b/src/man/firejail.txt
@@ -735,6 +735,25 @@ Example:
735$ firejail \-\-private=/home/netblue/firefox-home firefox 735$ firejail \-\-private=/home/netblue/firefox-home firefox
736 736
737.TP 737.TP
738\fB\-\-private-bin=file,file
739Build a new /bin in a temporary filesystem, and copy the programs in the list.
740The same directory is also bind-mounted over /sbin, /usr/bin and /usr/sbin.
741.br
742
743.br
744Example:
745.br
746$ firejail \-\-private-bin=bash,sed,ls,cat
747.br
748Parent pid 20841, child pid 20842
749.br
750Child process initialized
751.br
752$ ls /bin
753.br
754bash cat ls sed
755
756.TP
738\fB\-\-private-keep=file,directory 757\fB\-\-private-keep=file,directory
739This option is deprecated, use private-home instead 758This option is deprecated, use private-home instead
740 759