diff options
author | 2018-11-29 07:06:12 +0000 | |
---|---|---|
committer | 2018-11-29 07:06:12 +0000 | |
commit | 0282d89b971309cec402a8b452b83df0b478631e (patch) | |
tree | 52b731195107acdb5780a6e2922b5c4babe8e3e8 /etc | |
parent | Merge pull request #2276 from smitsohu/tmpfs (diff) | |
parent | restricting more, HOME and tmp in mpsyt.profile (diff) | |
download | firejail-0282d89b971309cec402a8b452b83df0b478631e.tar.gz firejail-0282d89b971309cec402a8b452b83df0b478631e.tar.zst firejail-0282d89b971309cec402a8b452b83df0b478631e.zip |
Merge pull request #2281 from pirate486743186/mpsyt-profile
restricting more, HOME and tmp in mpsyt.profile
Diffstat (limited to 'etc')
-rw-r--r-- | etc/mpsyt.profile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/etc/mpsyt.profile b/etc/mpsyt.profile index c64b71ad6..eb51a45cc 100644 --- a/etc/mpsyt.profile +++ b/etc/mpsyt.profile | |||
@@ -13,6 +13,18 @@ noblacklist ${HOME}/.netrc | |||
13 | noblacklist ${HOME}/mps | 13 | noblacklist ${HOME}/mps |
14 | noblacklist ${MUSIC} | 14 | noblacklist ${MUSIC} |
15 | noblacklist ${VIDEOS} | 15 | noblacklist ${VIDEOS} |
16 | noblacklist ${DOWNLOADS} | ||
17 | |||
18 | mkdir ${HOME}/.config/mps-youtube | ||
19 | |||
20 | whitelist ${HOME}/.config/mpv | ||
21 | whitelist ${HOME}/.mplayer | ||
22 | whitelist ${HOME}/.config/mps-youtube | ||
23 | whitelist ${HOME}/.netrc | ||
24 | whitelist ${HOME}/mps | ||
25 | whitelist ${MUSIC} | ||
26 | whitelist ${VIDEOS} | ||
27 | whitelist ${DOWNLOADS} | ||
16 | 28 | ||
17 | # Allow python (blacklisted by disable-interpreters.inc) | 29 | # Allow python (blacklisted by disable-interpreters.inc) |
18 | noblacklist ${PATH}/python2* | 30 | noblacklist ${PATH}/python2* |
@@ -45,3 +57,7 @@ tracelog | |||
45 | 57 | ||
46 | private-bin mpsyt,mplayer,mpv,youtube-dl,python*,env | 58 | private-bin mpsyt,mplayer,mpv,youtube-dl,python*,env |
47 | private-dev | 59 | private-dev |
60 | private-tmp | ||
61 | |||
62 | noexec ${HOME} | ||
63 | noexec /tmp | ||