diff options
Diffstat (limited to 'etc/profile-m-z/spotify.profile')
-rw-r--r-- | etc/profile-m-z/spotify.profile | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/etc/profile-m-z/spotify.profile b/etc/profile-m-z/spotify.profile new file mode 100644 index 000000000..1a34cb86d --- /dev/null +++ b/etc/profile-m-z/spotify.profile | |||
@@ -0,0 +1,54 @@ | |||
1 | # Firejail profile for spotify | ||
2 | # This file is overwritten after every install/update | ||
3 | # Persistent local customizations | ||
4 | include spotify.local | ||
5 | # Persistent global definitions | ||
6 | include globals.local | ||
7 | |||
8 | noblacklist ${HOME}/.cache/spotify | ||
9 | noblacklist ${HOME}/.config/spotify | ||
10 | noblacklist ${HOME}/.local/share/spotify | ||
11 | |||
12 | blacklist ${HOME}/.bashrc | ||
13 | |||
14 | include disable-common.inc | ||
15 | include disable-devel.inc | ||
16 | include disable-exec.inc | ||
17 | include disable-interpreters.inc | ||
18 | include disable-passwdmgr.inc | ||
19 | include disable-programs.inc | ||
20 | |||
21 | mkdir ${HOME}/.cache/spotify | ||
22 | mkdir ${HOME}/.config/spotify | ||
23 | mkdir ${HOME}/.local/share/spotify | ||
24 | whitelist ${HOME}/.cache/spotify | ||
25 | whitelist ${HOME}/.config/spotify | ||
26 | whitelist ${HOME}/.local/share/spotify | ||
27 | include whitelist-common.inc | ||
28 | include whitelist-var-common.inc | ||
29 | |||
30 | caps.drop all | ||
31 | netfilter | ||
32 | nodvd | ||
33 | nogroups | ||
34 | nonewprivs | ||
35 | noroot | ||
36 | notv | ||
37 | nou2f | ||
38 | protocol unix,inet,inet6,netlink | ||
39 | seccomp | ||
40 | shell none | ||
41 | tracelog | ||
42 | |||
43 | disable-mnt | ||
44 | private-bin bash,cat,dirname,find,grep,head,rm,sh,spotify,tclsh,touch,zenity | ||
45 | private-dev | ||
46 | # Comment the next line or put 'ignore private-etc' in your spotify.local if want to see the albums covers or if you want to use the radio | ||
47 | private-etc alternatives,ca-certificates,crypto-policies,fonts,group,host.conf,hosts,ld.so.cache,machine-id,nsswitch.conf,pki,pulse,resolv.conf,ssl | ||
48 | private-opt spotify | ||
49 | private-srv none | ||
50 | private-tmp | ||
51 | |||
52 | # dbus needed for MPRIS | ||
53 | # dbus-user none | ||
54 | # dbus-system none | ||