diff options
Diffstat (limited to 'etc/profile-m-z/smtube.profile')
-rw-r--r-- | etc/profile-m-z/smtube.profile | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/etc/profile-m-z/smtube.profile b/etc/profile-m-z/smtube.profile new file mode 100644 index 000000000..79bc02979 --- /dev/null +++ b/etc/profile-m-z/smtube.profile | |||
@@ -0,0 +1,48 @@ | |||
1 | # Firejail profile for smtube | ||
2 | # Description: YouTube videos browser | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include smtube.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${HOME}/.config/smplayer | ||
10 | noblacklist ${HOME}/.config/smtube | ||
11 | noblacklist ${HOME}/.config/mpv | ||
12 | noblacklist ${HOME}/.mplayer | ||
13 | noblacklist ${HOME}/.config/vlc | ||
14 | noblacklist ${HOME}/.local/share/vlc | ||
15 | noblacklist ${MUSIC} | ||
16 | noblacklist ${VIDEOS} | ||
17 | |||
18 | include disable-common.inc | ||
19 | include disable-devel.inc | ||
20 | include disable-exec.inc | ||
21 | include disable-interpreters.inc | ||
22 | include disable-passwdmgr.inc | ||
23 | include disable-programs.inc | ||
24 | include disable-xdg.inc | ||
25 | |||
26 | whitelist /usr/share/smplayer | ||
27 | whitelist /usr/share/smtube | ||
28 | include whitelist-usr-share-common.inc | ||
29 | include whitelist-var-common.inc | ||
30 | |||
31 | apparmor | ||
32 | caps.drop all | ||
33 | netfilter | ||
34 | nodvd | ||
35 | notv | ||
36 | nou2f | ||
37 | novideo | ||
38 | nogroups | ||
39 | nonewprivs | ||
40 | noroot | ||
41 | protocol unix,inet,inet6,netlink | ||
42 | seccomp | ||
43 | shell none | ||
44 | |||
45 | #no private-bin because users can add their own players to smtube and that would prevent that | ||
46 | private-dev | ||
47 | private-tmp | ||
48 | |||