aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-a-l/ktorrent.profile
diff options
context:
space:
mode:
Diffstat (limited to 'etc/profile-a-l/ktorrent.profile')
-rw-r--r--etc/profile-a-l/ktorrent.profile60
1 files changed, 60 insertions, 0 deletions
diff --git a/etc/profile-a-l/ktorrent.profile b/etc/profile-a-l/ktorrent.profile
new file mode 100644
index 000000000..2eb46a7e8
--- /dev/null
+++ b/etc/profile-a-l/ktorrent.profile
@@ -0,0 +1,60 @@
1# Firejail profile for ktorrent
2# Description: BitTorrent client based on the KDE platform
3# This file is overwritten after every install/update
4# Persistent local customizations
5include ktorrent.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.config/ktorrentrc
10noblacklist ${HOME}/.kde/share/apps/ktorrent
11noblacklist ${HOME}/.kde/share/config/ktorrentrc
12noblacklist ${HOME}/.kde4/share/apps/ktorrent
13noblacklist ${HOME}/.kde4/share/config/ktorrentrc
14noblacklist ${HOME}/.local/share/ktorrent
15
16include disable-common.inc
17include disable-devel.inc
18include disable-exec.inc
19include disable-interpreters.inc
20include disable-passwdmgr.inc
21include disable-programs.inc
22
23mkdir ${HOME}/.kde/share/apps/ktorrent
24mkdir ${HOME}/.kde4/share/apps/ktorrent
25mkdir ${HOME}/.local/share/ktorrent
26mkfile ${HOME}/.config/ktorrentrc
27mkfile ${HOME}/.kde/share/config/ktorrentrc
28mkfile ${HOME}/.kde4/share/config/ktorrentrc
29whitelist ${DOWNLOADS}
30whitelist ${HOME}/.config/ktorrentrc
31whitelist ${HOME}/.kde/share/apps/ktorrent
32whitelist ${HOME}/.kde/share/config/ktorrentrc
33whitelist ${HOME}/.kde4/share/apps/ktorrent
34whitelist ${HOME}/.kde4/share/config/ktorrentrc
35whitelist ${HOME}/.local/share/ktorrent
36include whitelist-common.inc
37include whitelist-var-common.inc
38
39caps.drop all
40machine-id
41netfilter
42no3d
43nodvd
44nogroups
45nonewprivs
46noroot
47nosound
48notv
49nou2f
50novideo
51protocol unix,inet,inet6,netlink
52seccomp
53shell none
54
55private-bin kbuildsycoca4,kdeinit4,ktorrent
56private-dev
57# private-lib - problems on Arch
58private-tmp
59
60# memory-deny-write-execute