mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-21 06:45:29 -06:00
43 lines
969 B
Text
43 lines
969 B
Text
# Spotify media player profile
|
|
noblacklist ${HOME}/.config/spotify
|
|
noblacklist ${HOME}/.cache/spotify
|
|
noblacklist ${HOME}/.local/share/spotify
|
|
include /etc/firejail/disable-common.inc
|
|
include /etc/firejail/disable-programs.inc
|
|
include /etc/firejail/disable-devel.inc
|
|
include /etc/firejail/disable-passwdmgr.inc
|
|
|
|
# Whitelist the folders needed by Spotify
|
|
mkdir ${HOME}/.config/spotify
|
|
whitelist ${HOME}/.config/spotify
|
|
mkdir ${HOME}/.local/share/spotify
|
|
whitelist ${HOME}/.local/share/spotify
|
|
mkdir ${HOME}/.cache/spotify
|
|
whitelist ${HOME}/.cache/spotify
|
|
|
|
caps.drop all
|
|
netfilter
|
|
nogroups
|
|
nonewprivs
|
|
noroot
|
|
protocol unix,inet,inet6,netlink
|
|
seccomp
|
|
shell none
|
|
|
|
private-bin spotify
|
|
private-etc fonts,machine-id,pulse,resolv.conf
|
|
private-dev
|
|
private-tmp
|
|
|
|
blacklist ${HOME}/.Xauthority
|
|
blacklist ${HOME}/.bashrc
|
|
blacklist /boot
|
|
blacklist /lost+found
|
|
blacklist /media
|
|
blacklist /mnt
|
|
blacklist /opt
|
|
blacklist /root
|
|
blacklist /sbin
|
|
blacklist /srv
|
|
blacklist /sys
|
|
blacklist /var
|