diff options
author | 2020-07-31 02:09:18 +0530 | |
---|---|---|
committer | 2020-07-30 20:39:18 +0000 | |
commit | e491d1f88d661332728fe6dd542cdcc16bc1505a (patch) | |
tree | 911f51a6f43dcbf70da6d3bf451c069c49da1987 /etc | |
parent | Added Nuclear profile (#3553) (diff) | |
download | firejail-e491d1f88d661332728fe6dd542cdcc16bc1505a.tar.gz firejail-e491d1f88d661332728fe6dd542cdcc16bc1505a.tar.zst firejail-e491d1f88d661332728fe6dd542cdcc16bc1505a.zip |
Added minitube profile (#3555)
* Added minitube profile
Initial
* Second
Removed no3d,added novideo
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/disable-programs.inc | 3 | ||||
-rw-r--r-- | etc/profile-m-z/minitube.profile | 61 |
2 files changed, 64 insertions, 0 deletions
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc index ebb9236c9..5ffc293a1 100644 --- a/etc/inc/disable-programs.inc +++ b/etc/inc/disable-programs.inc | |||
@@ -85,6 +85,7 @@ blacklist ${HOME}/.config/Element | |||
85 | blacklist ${HOME}/.config/Element (Riot) | 85 | blacklist ${HOME}/.config/Element (Riot) |
86 | blacklist ${HOME}/.config/Enox | 86 | blacklist ${HOME}/.config/Enox |
87 | blacklist ${HOME}/.config/Ferdi | 87 | blacklist ${HOME}/.config/Ferdi |
88 | blacklist ${HOME}/.config/Flavio Tordini | ||
88 | blacklist ${HOME}/.config/Franz | 89 | blacklist ${HOME}/.config/Franz |
89 | blacklist ${HOME}/.config/FreeCAD | 90 | blacklist ${HOME}/.config/FreeCAD |
90 | blacklist ${HOME}/.config/FreeTube | 91 | blacklist ${HOME}/.config/FreeTube |
@@ -530,6 +531,7 @@ blacklist ${HOME}/.local/share/3909/PapersPlease | |||
530 | blacklist ${HOME}/.local/share/Anki2 | 531 | blacklist ${HOME}/.local/share/Anki2 |
531 | blacklist ${HOME}/.local/share/Empathy | 532 | blacklist ${HOME}/.local/share/Empathy |
532 | blacklist ${HOME}/.local/share/Enpass | 533 | blacklist ${HOME}/.local/share/Enpass |
534 | blacklist ${HOME}/.local/share/Flavio Tordini | ||
533 | blacklist ${HOME}/.local/share/JetBrains | 535 | blacklist ${HOME}/.local/share/JetBrains |
534 | blacklist ${HOME}/.local/share/Kingsoft | 536 | blacklist ${HOME}/.local/share/Kingsoft |
535 | blacklist ${HOME}/.local/share/Mendeley Ltd. | 537 | blacklist ${HOME}/.local/share/Mendeley Ltd. |
@@ -810,6 +812,7 @@ blacklist ${HOME}/.cache/Clementine | |||
810 | blacklist ${HOME}/.cache/Enox | 812 | blacklist ${HOME}/.cache/Enox |
811 | blacklist ${HOME}/.cache/Enpass | 813 | blacklist ${HOME}/.cache/Enpass |
812 | blacklist ${HOME}/.cache/Ferdi | 814 | blacklist ${HOME}/.cache/Ferdi |
815 | blacklist ${HOME}/.cache/Flavio Tordini | ||
813 | blacklist ${HOME}/.cache/Franz | 816 | blacklist ${HOME}/.cache/Franz |
814 | blacklist ${HOME}/.cache/INRIA | 817 | blacklist ${HOME}/.cache/INRIA |
815 | blacklist ${HOME}/.cache/MusicBrainz | 818 | blacklist ${HOME}/.cache/MusicBrainz |
diff --git a/etc/profile-m-z/minitube.profile b/etc/profile-m-z/minitube.profile new file mode 100644 index 000000000..2c70978a9 --- /dev/null +++ b/etc/profile-m-z/minitube.profile | |||
@@ -0,0 +1,61 @@ | |||
1 | # Firejail profile for minitube | ||
2 | # Description: Native Youtube viewer for Linux | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include minitube.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${PICTURES} | ||
10 | noblacklist ${HOME}/.cache/Flavio Tordini | ||
11 | noblacklist ${HOME}/.config/Flavio Tordini | ||
12 | noblacklist ${HOME}/.local/share/Flavio Tordini | ||
13 | |||
14 | include allow-lua.inc | ||
15 | |||
16 | include disable-common.inc | ||
17 | include disable-devel.inc | ||
18 | include disable-exec.inc | ||
19 | include disable-interpreters.inc | ||
20 | include disable-passwdmgr.inc | ||
21 | include disable-programs.inc | ||
22 | include disable-shell.inc | ||
23 | include disable-xdg.inc | ||
24 | |||
25 | mkdir ${HOME}/.cache/Flavio Tordini | ||
26 | mkdir ${HOME}/.config/Flavio Tordini | ||
27 | mkdir ${HOME}/.local/share/Flavio Tordini | ||
28 | whitelist ${PICTURES} | ||
29 | whitelist ${HOME}/.cache/Flavio Tordini | ||
30 | whitelist ${HOME}/.config/Flavio Tordini | ||
31 | whitelist ${HOME}/.local/share/Flavio Tordini | ||
32 | whitelist /usr/share/minitube | ||
33 | include whitelist-common.inc | ||
34 | include whitelist-runuser-common.inc | ||
35 | include whitelist-usr-share-common.inc | ||
36 | include whitelist-var-common.inc | ||
37 | |||
38 | apparmor | ||
39 | caps.drop all | ||
40 | netfilter | ||
41 | nodvd | ||
42 | nogroups | ||
43 | nonewprivs | ||
44 | noroot | ||
45 | notv | ||
46 | nou2f | ||
47 | novideo | ||
48 | protocol unix,inet,inet6,netlink | ||
49 | seccomp | ||
50 | shell none | ||
51 | tracelog | ||
52 | |||
53 | disable-mnt | ||
54 | private-bin minitube | ||
55 | private-cache | ||
56 | private-dev | ||
57 | private-etc alsa,alternatives,asound.conf,ca-certificates,crypto-policies,drirc,fonts,gtk-2.0,gtk-3.0,host.conf,hostname,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,mime.types,nsswitch.conf,pki,pulse,resolv.conf,selinux,ssl,X11,xdg | ||
58 | private-tmp | ||
59 | |||
60 | dbus-user none | ||
61 | dbus-system none | ||