| 1 |
# Firejail profile for fragments |
| 2 |
# Description: Fast, easy and free BitTorrent client (GTK4 GUI for transmission-daemon) |
| 3 |
# This file is overwritten after every install/update |
| 4 |
quiet |
| 5 |
# Persistent local customizations |
| 6 |
include fragments.local |
| 7 |
# Persistent global definitions |
| 8 |
include globals.local |
| 9 |
|
| 10 |
include whitelist-runuser-common.inc |
| 11 |
whitelist ${RUNUSER}/at-spi |
| 12 |
whitelist /usr/share/fragments |
| 13 |
|
| 14 |
private-bin fragments |
| 15 |
private-bin transmission-daemon |
| 16 |
private-cache |
| 17 |
|
| 18 |
ignore dbus-user none |
| 19 |
dbus-user filter |
| 20 |
dbus-user.talk org.freedesktop.secrets |
| 21 |
dbus-user.talk org.freedesktop.Notifications |
| 22 |
dbus-user.talk org.freedesktop.portal.Desktop |
| 23 |
dbus-user.own de.haeckerfelix.Fragments.* |
| 24 |
dbus-user.talk ca.desrt.dconf |
| 25 |
dbus-user.talk org.a11y.Bus |
| 26 |
|
| 27 |
ignore memory-deny-write-execute |
| 28 |
|
| 29 |
noblacklist ${HOME}/.cache/fragments |
| 30 |
noblacklist ${HOME}/.config/fragments |
| 31 |
|
| 32 |
include disable-common.inc |
| 33 |
include disable-devel.inc |
| 34 |
include disable-exec.inc |
| 35 |
include disable-interpreters.inc |
| 36 |
include disable-programs.inc |
| 37 |
|
| 38 |
mkdir ${HOME}/.cache/fragments |
| 39 |
mkdir ${HOME}/.config/fragments |
| 40 |
whitelist ${DOWNLOADS} |
| 41 |
whitelist ${HOME}/.cache/fragments |
| 42 |
whitelist ${HOME}/.config/fragments |
| 43 |
include whitelist-common.inc |
| 44 |
include whitelist-usr-share-common.inc |
| 45 |
include whitelist-var-common.inc |
| 46 |
|
| 47 |
apparmor |
| 48 |
caps.drop all |
| 49 |
machine-id |
| 50 |
netfilter |
| 51 |
nodvd |
| 52 |
noinput |
| 53 |
nonewprivs |
| 54 |
noroot |
| 55 |
nosound |
| 56 |
notv |
| 57 |
nou2f |
| 58 |
novideo |
| 59 |
protocol unix,inet,inet6 |
| 60 |
seccomp |
| 61 |
seccomp.block-secondary |
| 62 |
tracelog |
| 63 |
|
| 64 |
private-cache |
| 65 |
private-dev |
| 66 |
private-etc @tls-ca,@x11 |
| 67 |
private-tmp |
| 68 |
|
| 69 |
dbus-user none |
| 70 |
dbus-system none |
| 71 |
|
| 72 |
memory-deny-write-execute |
| 73 |
restrict-namespaces |