aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar pirate486743186 <okgomdjgbmoij@gmail.com>2018-11-28 21:08:36 +0100
committerLibravatar pirate486743186 <okgomdjgbmoij@gmail.com>2018-11-28 21:49:37 +0100
commit0293e40012bd8ec1efcd9982179ef25e68bb916c (patch)
tree52b731195107acdb5780a6e2922b5c4babe8e3e8
parentMerge pull request #2276 from smitsohu/tmpfs (diff)
downloadfirejail-0293e40012bd8ec1efcd9982179ef25e68bb916c.tar.gz
firejail-0293e40012bd8ec1efcd9982179ef25e68bb916c.tar.zst
firejail-0293e40012bd8ec1efcd9982179ef25e68bb916c.zip
restricting more, HOME and tmp in mpsyt.profile
-rw-r--r--etc/mpsyt.profile16
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
13noblacklist ${HOME}/mps 13noblacklist ${HOME}/mps
14noblacklist ${MUSIC} 14noblacklist ${MUSIC}
15noblacklist ${VIDEOS} 15noblacklist ${VIDEOS}
16noblacklist ${DOWNLOADS}
17
18mkdir ${HOME}/.config/mps-youtube
19
20whitelist ${HOME}/.config/mpv
21whitelist ${HOME}/.mplayer
22whitelist ${HOME}/.config/mps-youtube
23whitelist ${HOME}/.netrc
24whitelist ${HOME}/mps
25whitelist ${MUSIC}
26whitelist ${VIDEOS}
27whitelist ${DOWNLOADS}
16 28
17# Allow python (blacklisted by disable-interpreters.inc) 29# Allow python (blacklisted by disable-interpreters.inc)
18noblacklist ${PATH}/python2* 30noblacklist ${PATH}/python2*
@@ -45,3 +57,7 @@ tracelog
45 57
46private-bin mpsyt,mplayer,mpv,youtube-dl,python*,env 58private-bin mpsyt,mplayer,mpv,youtube-dl,python*,env
47private-dev 59private-dev
60private-tmp
61
62noexec ${HOME}
63noexec /tmp