| 1 |
# Firejail profile for aria2c |
| 2 |
# Description: Download utility that supports HTTP(S), FTP, BitTorrent and Metalink |
| 3 |
# This file is overwritten after every install/update |
| 4 |
# Persistent local customizations |
| 5 |
include aria2c.local |
| 6 |
# Persistent global definitions |
| 7 |
include globals.local |
| 8 |
|
| 9 |
noblacklist ${HOME}/.aria2 |
| 10 |
noblacklist ${HOME}/.cache/winetricks # XXX: See #5238 |
| 11 |
noblacklist ${HOME}/.config/aria2 |
| 12 |
noblacklist ${HOME}/.netrc |
| 13 |
|
| 14 |
blacklist ${RUNUSER}/wayland-* |
| 15 |
|
| 16 |
include disable-common.inc |
| 17 |
include disable-devel.inc |
| 18 |
include disable-exec.inc |
| 19 |
include disable-interpreters.inc |
| 20 |
include disable-programs.inc |
| 21 |
include disable-x11.inc |
| 22 |
|
| 23 |
include whitelist-usr-share-common.inc |
| 24 |
include whitelist-var-common.inc |
| 25 |
|
| 26 |
caps.drop all |
| 27 |
ipc-namespace |
| 28 |
netfilter |
| 29 |
no3d |
| 30 |
nodvd |
| 31 |
nogroups |
| 32 |
noinput |
| 33 |
nonewprivs |
| 34 |
noroot |
| 35 |
nosound |
| 36 |
notv |
| 37 |
nou2f |
| 38 |
novideo |
| 39 |
protocol unix,inet,inet6,netlink |
| 40 |
seccomp |
| 41 |
|
| 42 |
#disable-mnt |
| 43 |
# Add your custom event hook commands to 'private-bin' in your aria2c.local. |
| 44 |
private-bin aria2c,gzip |
| 45 |
# Add 'private-cache' to your aria2c.local if you don't use Lutris/winetricks (see issue #2772). |
| 46 |
#private-cache |
| 47 |
private-dev |
| 48 |
private-etc @tls-ca |
| 49 |
private-lib libreadline.so.* |
| 50 |
private-tmp |
| 51 |
|
| 52 |
dbus-user none |
| 53 |
dbus-system none |
| 54 |
|
| 55 |
memory-deny-write-execute |
| 56 |
restrict-namespaces |