aboutsummaryrefslogtreecommitdiffstats
path: root/etc/spotify.profile
diff options
context:
space:
mode:
Diffstat (limited to 'etc/spotify.profile')
-rw-r--r--etc/spotify.profile22
1 files changed, 17 insertions, 5 deletions
diff --git a/etc/spotify.profile b/etc/spotify.profile
index 73d427db3..6dbcc03ee 100644
--- a/etc/spotify.profile
+++ b/etc/spotify.profile
@@ -7,16 +7,13 @@ 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/spotify 11mkdir ${HOME}/.config/spotify
14whitelist ${HOME}/.config/spotify 12whitelist ${HOME}/.config/spotify
15mkdir ${HOME}/.local/share/spotify 13mkdir ${HOME}/.local/share/spotify
16whitelist ${HOME}/.local/share/spotify 14whitelist ${HOME}/.local/share/spotify
17mkdir ${HOME}/.cache/spotify 15mkdir ${HOME}/.cache/spotify
18whitelist ${HOME}/.cache/spotify 16whitelist ${HOME}/.cache/spotify
19include /etc/firejail/whitelist-common.inc
20 17
21caps.drop all 18caps.drop all
22netfilter 19netfilter
@@ -27,5 +24,20 @@ protocol unix,inet,inet6,netlink
27seccomp 24seccomp
28shell none 25shell none
29 26
30#private-bin spotify 27private-bin spotify
28private-etc fonts,machine-id,pulse,resolv.conf
31private-dev 29private-dev
30private-tmp
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