diff options
author | 2018-11-27 23:33:20 +0000 | |
---|---|---|
committer | 2018-11-27 23:33:20 +0000 | |
commit | 10d9157cfe71bd473b7a6fcede51926909ed19e0 (patch) | |
tree | 624005cfd236c11be6841c0960bb75d71821cfdd /etc | |
parent | Merge pull request #2279 from pirate486743186/patch-1 (diff) | |
parent | new profile mpsyt.profile (diff) | |
download | firejail-10d9157cfe71bd473b7a6fcede51926909ed19e0.tar.gz firejail-10d9157cfe71bd473b7a6fcede51926909ed19e0.tar.zst firejail-10d9157cfe71bd473b7a6fcede51926909ed19e0.zip |
Merge pull request #2280 from pirate486743186/patch-2
new profile mpsyt.profile
Diffstat (limited to 'etc')
-rw-r--r-- | etc/mpsyt.profile | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/etc/mpsyt.profile b/etc/mpsyt.profile new file mode 100644 index 000000000..c64b71ad6 --- /dev/null +++ b/etc/mpsyt.profile | |||
@@ -0,0 +1,47 @@ | |||
1 | # Firejail profile for mpsyt | ||
2 | # Description: Terminal based YouTube player and downloader | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include /etc/firejail/mpsyt.local | ||
6 | # Persistent global definitions | ||
7 | include /etc/firejail/globals.local | ||
8 | |||
9 | noblacklist ${HOME}/.config/mpv | ||
10 | noblacklist ${HOME}/.mplayer | ||
11 | noblacklist ${HOME}/.config/mps-youtube | ||
12 | noblacklist ${HOME}/.netrc | ||
13 | noblacklist ${HOME}/mps | ||
14 | noblacklist ${MUSIC} | ||
15 | noblacklist ${VIDEOS} | ||
16 | |||
17 | # Allow python (blacklisted by disable-interpreters.inc) | ||
18 | noblacklist ${PATH}/python2* | ||
19 | noblacklist ${PATH}/python3* | ||
20 | noblacklist /usr/lib/python2* | ||
21 | noblacklist /usr/lib/python3* | ||
22 | noblacklist /usr/local/lib/python2* | ||
23 | noblacklist /usr/local/lib/python3* | ||
24 | |||
25 | include /etc/firejail/disable-common.inc | ||
26 | include /etc/firejail/disable-devel.inc | ||
27 | include /etc/firejail/disable-interpreters.inc | ||
28 | include /etc/firejail/disable-passwdmgr.inc | ||
29 | include /etc/firejail/disable-programs.inc | ||
30 | include /etc/firejail/disable-xdg.inc | ||
31 | |||
32 | include /etc/firejail/whitelist-var-common.inc | ||
33 | |||
34 | apparmor | ||
35 | caps.drop all | ||
36 | netfilter | ||
37 | # Seems to cause issues with Nvidia drivers sometimes | ||
38 | nogroups | ||
39 | nonewprivs | ||
40 | noroot | ||
41 | protocol unix,inet,inet6 | ||
42 | seccomp | ||
43 | shell none | ||
44 | tracelog | ||
45 | |||
46 | private-bin mpsyt,mplayer,mpv,youtube-dl,python*,env | ||
47 | private-dev | ||