aboutsummaryrefslogtreecommitdiffstats
path: root/etc/spotify.profile
diff options
context:
space:
mode:
Diffstat (limited to 'etc/spotify.profile')
-rw-r--r--etc/spotify.profile33
1 files changed, 23 insertions, 10 deletions
diff --git a/etc/spotify.profile b/etc/spotify.profile
index fd4586dd5..6dbcc03ee 100644
--- a/etc/spotify.profile
+++ b/etc/spotify.profile
@@ -7,24 +7,37 @@ include /etc/firejail/disable-programs.inc
7include /etc/firejail/disable-devel.inc 7include /etc/firejail/disable-devel.inc
8include /etc/firejail/disable-passwdmgr.inc 8include /etc/firejail/disable-passwdmgr.inc
9 9
10# Whitelist the folders needed by Spotify - This is more restrictive 10# Whitelist the folders needed by Spotify
11# than a blacklist though, but this is all spotify requires for
12# streaming audio
13mkdir ${HOME}/.config
14mkdir ${HOME}/.config/spotify 11mkdir ${HOME}/.config/spotify
15whitelist ${HOME}/.config/spotify 12whitelist ${HOME}/.config/spotify
16mkdir ${HOME}/.local
17mkdir ${HOME}/.local/share
18mkdir ${HOME}/.local/share/spotify 13mkdir ${HOME}/.local/share/spotify
19whitelist ${HOME}/.local/share/spotify 14whitelist ${HOME}/.local/share/spotify
20mkdir ${HOME}/.cache
21mkdir ${HOME}/.cache/spotify 15mkdir ${HOME}/.cache/spotify
22whitelist ${HOME}/.cache/spotify 16whitelist ${HOME}/.cache/spotify
23include /etc/firejail/whitelist-common.inc
24 17
25caps.drop all 18caps.drop all
26seccomp
27protocol unix,inet,inet6,netlink
28netfilter 19netfilter
20nogroups
21nonewprivs
29noroot 22noroot
23protocol unix,inet,inet6,netlink
24seccomp
25shell none
26
27private-bin spotify
28private-etc fonts,machine-id,pulse,resolv.conf
29private-dev
30private-tmp
30 31
32blacklist ${HOME}/.Xauthority
33blacklist ${HOME}/.bashrc
34blacklist /boot
35blacklist /lost+found
36blacklist /media
37blacklist /mnt
38blacklist /opt
39blacklist /root
40blacklist /sbin
41blacklist /srv
42blacklist /sys
43blacklist /var