| 1 |
# Firejail profile for Cantata |
| 2 |
# Description: Multimedia player - Qt5 client for the music Player daemon (MPD) |
| 3 |
# This file is overwritten during software install. |
| 4 |
# Persistent local customizations |
| 5 |
include cantata.local |
| 6 |
# Persistent global definitions |
| 7 |
include globals.local |
| 8 |
|
| 9 |
noblacklist ${HOME}/.cache/cantata |
| 10 |
noblacklist ${HOME}/.config/cantata |
| 11 |
noblacklist ${HOME}/.local/share/cantata |
| 12 |
noblacklist ${MUSIC} |
| 13 |
|
| 14 |
# Allow perl (blacklisted by disable-interpreters.inc) |
| 15 |
include allow-perl.inc |
| 16 |
|
| 17 |
include disable-common.inc |
| 18 |
include disable-devel.inc |
| 19 |
include disable-exec.inc |
| 20 |
include disable-interpreters.inc |
| 21 |
include disable-programs.inc |
| 22 |
include disable-shell.inc |
| 23 |
include disable-xdg.inc |
| 24 |
|
| 25 |
#apparmor |
| 26 |
caps.drop all |
| 27 |
ipc-namespace |
| 28 |
netfilter |
| 29 |
noinput |
| 30 |
nonewprivs |
| 31 |
noroot |
| 32 |
nou2f |
| 33 |
novideo |
| 34 |
protocol unix,inet,inet6,netlink |
| 35 |
seccomp |
| 36 |
|
| 37 |
#private-etc alternatives,drirc,fonts,gcrypt,hosts,kde5rc,mpd.conf,passwd,samba,ssl,xdg |
| 38 |
private-bin cantata,mpd,perl |
| 39 |
private-dev |
| 40 |
|
| 41 |
restrict-namespaces |