From 822be0355f3b440d7cf193bc5c923f24163dd6d5 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Tue, 4 Jul 2017 10:24:23 -0400 Subject: per-profile disable-mnt --- src/man/firejail-profile.txt | 3 +++ src/man/firejail.txt | 10 ++++++++++ 2 files changed, 13 insertions(+) (limited to 'src/man') diff --git a/src/man/firejail-profile.txt b/src/man/firejail-profile.txt index 9b3aef95f..9f4f4a927 100644 --- a/src/man/firejail-profile.txt +++ b/src/man/firejail-profile.txt @@ -161,6 +161,9 @@ Mount-bind directory1 on top of directory2. This option is only available when r \fBbind file1,file2 Mount-bind file1 on top of file2. This option is only available when running as root. .TP +\fBdisable-mnt +Disable /mnt, /media, /run/mount and /run/media access. +.TP \fBmkdir directory Create a directory in user home or under /tmp before the sandbox is started. The directory is created if it doesn't already exist. diff --git a/src/man/firejail.txt b/src/man/firejail.txt index 25992fb3e..6e49fc25f 100644 --- a/src/man/firejail.txt +++ b/src/man/firejail.txt @@ -377,6 +377,16 @@ Example: .br $ firejail \-\-net=eth0 \-\-defaultgw=10.10.20.1 firefox +.TP +\fB\-\-disable-mnt +Disable /mnt, /media, /run/mount and /run/media access. +.br + +.br +Example: +.br +$ firejail \-\-disable-mnt firefox + .TP \fB\-\-dns=address Set a DNS server for the sandbox. Up to three DNS servers can be defined. -- cgit v1.2.3-54-g00ecf