diff options
author | 2017-08-07 13:41:08 -0500 | |
---|---|---|
committer | 2017-08-07 13:41:08 -0500 | |
commit | e24b15f8647997dbb26a7152c921af94e36294ce (patch) | |
tree | 4c98b42844c8c67853643d4b4b7253dbd8764f1e /etc/qbittorrent.profile | |
parent | merges (diff) | |
parent | Unify last 8 profiles (diff) | |
download | firejail-e24b15f8647997dbb26a7152c921af94e36294ce.tar.gz firejail-e24b15f8647997dbb26a7152c921af94e36294ce.tar.zst firejail-e24b15f8647997dbb26a7152c921af94e36294ce.zip |
Merge pull request #1427 from SpotComms/pr
Unify all profiles
Diffstat (limited to 'etc/qbittorrent.profile')
-rw-r--r-- | etc/qbittorrent.profile | 34 |
1 files changed, 16 insertions, 18 deletions
diff --git a/etc/qbittorrent.profile b/etc/qbittorrent.profile index 7ae8a22d4..025a6fa61 100644 --- a/etc/qbittorrent.profile +++ b/etc/qbittorrent.profile | |||
@@ -1,30 +1,29 @@ | |||
1 | # Persistent global definitions go here | 1 | # Firejail profile for qbittorrent |
2 | include /etc/firejail/globals.local | 2 | # This file is overwritten after every install/update |
3 | 3 | # Persistent local customizations | |
4 | # This file is overwritten during software install. | ||
5 | # Persistent customizations should go in a .local file. | ||
6 | include /etc/firejail/qbittorrent.local | 4 | include /etc/firejail/qbittorrent.local |
5 | # Persistent global definitions | ||
6 | include /etc/firejail/globals.local | ||
7 | 7 | ||
8 | # qbittorrent bittorrent profile | 8 | noblacklist ~/.cache/qBittorrent |
9 | noblacklist ~/.config/qt5ct | ||
10 | noblacklist ~/.config/qBittorrent | 9 | noblacklist ~/.config/qBittorrent |
11 | noblacklist ~/.config/qBittorrentrc | 10 | noblacklist ~/.config/qBittorrentrc |
12 | noblacklist ~/.cache/qBittorrent | 11 | noblacklist ~/.config/qt5ct |
13 | 12 | ||
14 | include /etc/firejail/disable-common.inc | 13 | include /etc/firejail/disable-common.inc |
15 | include /etc/firejail/disable-programs.inc | ||
16 | include /etc/firejail/disable-devel.inc | 14 | include /etc/firejail/disable-devel.inc |
17 | include /etc/firejail/disable-passwdmgr.inc | 15 | include /etc/firejail/disable-passwdmgr.inc |
16 | include /etc/firejail/disable-programs.inc | ||
18 | 17 | ||
19 | mkdir ~/.local/share/data/qBittorrent | 18 | mkdir ~/.cache/qBittorrent |
20 | whitelist ~/.local/share/data/qBittorrent | ||
21 | whitelist ~/.config/qt5ct | ||
22 | mkdir ~/.config/qBittorrent | 19 | mkdir ~/.config/qBittorrent |
20 | mkdir ~/.local/share/data/qBittorrent | ||
21 | whitelist ${DOWNLOADS} | ||
22 | whitelist ~/.cache/qBittorrent | ||
23 | whitelist ~/.config/qBittorrent | 23 | whitelist ~/.config/qBittorrent |
24 | whitelist ~/.config/qBittorrentrc | 24 | whitelist ~/.config/qBittorrentrc |
25 | mkdir ~/.cache/qBittorrent | 25 | whitelist ~/.config/qt5ct |
26 | whitelist ~/.cache/qBittorrent | 26 | whitelist ~/.local/share/data/qBittorrent |
27 | whitelist ${DOWNLOADS} | ||
28 | include /etc/firejail/whitelist-common.inc | 27 | include /etc/firejail/whitelist-common.inc |
29 | 28 | ||
30 | caps.drop all | 29 | caps.drop all |
@@ -36,10 +35,9 @@ noroot | |||
36 | nosound | 35 | nosound |
37 | protocol unix,inet,inet6,netlink | 36 | protocol unix,inet,inet6,netlink |
38 | seccomp | 37 | seccomp |
38 | # shell none | ||
39 | 39 | ||
40 | # there are some problems with "Open destination folder", see bug #536 | 40 | # private-bin qbittorrent |
41 | #shell none | ||
42 | #private-bin qbittorrent | ||
43 | private-dev | 41 | private-dev |
44 | # private-etc X11,fonts,xdg,resolv.conf | 42 | # private-etc X11,fonts,xdg,resolv.conf |
45 | private-tmp | 43 | private-tmp |