summaryrefslogtreecommitdiffstats
path: root/etc/ktorrent.profile
blob: c19f1c5ef24b453196e78c3c7f4ab9bbd841602b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Persistent global definitions go here
include /etc/firejail/globals.local

# This file is overwritten during software install.
# Persistent customizations should go in a .local file.
include /etc/firejail/ktorrent.local

noblacklist ~/.config/ktorrentrc
noblacklist ~/.local/share/ktorrent
noblacklist ~/.kde/share/config/ktorrentrc
noblacklist ~/.kde4/share/config/ktorrentrc
noblacklist ~/.kde/share/apps/ktorrent
noblacklist ~/.kde4/share/apps/ktorrent

include /etc/firejail/disable-common.inc
include /etc/firejail/disable-devel.inc
include /etc/firejail/disable-programs.inc
include /etc/firejail/disable-passwdmgr.inc

mkfile ~/.config/ktorrentrc
whitelist ~/.config/ktorrentrc
mkdir ~/.local/share/ktorrent
whitelist ~/.local/share/ktorrent
mkdir ~/.kde/share/config/ktorrentrc
whitelist ~/.kde/share/config/ktorrentrc
mkdir ~/.kde4/share/config/ktorrentrc
whitelist ~/.kde4/share/config/ktorrentrc
mkdir ~/.kde/share/apps/ktorrent
whitelist ~/.kde/share/apps/ktorrent
mkdir ~/.kde4/share/apps/ktorrent
whitelist ~/.kde4/share/apps/ktorrent
whitelist  ${DOWNLOADS}
include /etc/firejail/whitelist-common.inc


caps.drop all
netfilter
no3d
nogroups
nonewprivs
noroot
nosound
novideo
protocol unix,inet,inet6
seccomp
shell none

private-dev
private-tmp

noexec ${HOME}
noexec /tmp