mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-16 14:16:16 -06:00
disable-exec: add mount points
Example case: you want to access the photos and have scripts or binaries on the same USB flash drive. Let's set mount points not executable in disable-exec.inc.
This commit is contained in:
parent
eed8f78fd9
commit
98c3b41bc9
1 changed files with 4 additions and 0 deletions
|
|
@ -6,6 +6,10 @@ noexec ${HOME}
|
||||||
noexec ${RUNUSER}
|
noexec ${RUNUSER}
|
||||||
noexec /dev/mqueue
|
noexec /dev/mqueue
|
||||||
noexec /dev/shm
|
noexec /dev/shm
|
||||||
|
noexec /media
|
||||||
|
noexec /mnt
|
||||||
|
noexec /run/media
|
||||||
|
noexec /run/mount
|
||||||
noexec /run/shm
|
noexec /run/shm
|
||||||
noexec /tmp
|
noexec /tmp
|
||||||
# /var is noexec by default for unprivileged users
|
# /var is noexec by default for unprivileged users
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue