| 1 |
# Firejail profile for deluge |
| 2 |
# Description: BitTorrent client written in Python/PyGTK |
| 3 |
# This file is overwritten after every install/update |
| 4 |
# Persistent local customizations |
| 5 |
include deluge.local |
| 6 |
# Persistent global definitions |
| 7 |
include globals.local |
| 8 |
|
| 9 |
noblacklist ${HOME}/.config/deluge |
| 10 |
|
| 11 |
# Allow python (blacklisted by disable-interpreters.inc) |
| 12 |
include allow-python2.inc |
| 13 |
include allow-python3.inc |
| 14 |
|
| 15 |
include disable-common.inc |
| 16 |
#include disable-devel.inc |
| 17 |
include disable-exec.inc |
| 18 |
include disable-interpreters.inc |
| 19 |
include disable-programs.inc |
| 20 |
|
| 21 |
mkdir ${HOME}/.config/deluge |
| 22 |
whitelist ${DOWNLOADS} |
| 23 |
whitelist ${HOME}/.config/deluge |
| 24 |
include whitelist-common.inc |
| 25 |
include whitelist-var-common.inc |
| 26 |
|
| 27 |
apparmor |
| 28 |
caps.drop all |
| 29 |
machine-id |
| 30 |
netfilter |
| 31 |
nodvd |
| 32 |
noinput |
| 33 |
nonewprivs |
| 34 |
noroot |
| 35 |
nosound |
| 36 |
notv |
| 37 |
nou2f |
| 38 |
novideo |
| 39 |
protocol unix,inet,inet6,netlink |
| 40 |
seccomp |
| 41 |
|
| 42 |
# deluge is using python on Debian |
| 43 |
private-bin deluge,deluge-console,deluge-gtk,deluge-web,deluged,python*,sh,uname |
| 44 |
private-dev |
| 45 |
private-tmp |
| 46 |
|
| 47 |
restrict-namespaces |