diff options
author | 2017-08-07 01:22:08 -0400 | |
---|---|---|
committer | 2017-08-07 01:22:08 -0400 | |
commit | 9e3ba319be6b9546d7e8f450ca419ee2f3f4040b (patch) | |
tree | 0aebe82de78a61877c267f4dcb2ebcc13a2e37c9 /etc/qbittorrent.profile | |
parent | various profile fixes (#1433) (diff) | |
download | firejail-9e3ba319be6b9546d7e8f450ca419ee2f3f4040b.tar.gz firejail-9e3ba319be6b9546d7e8f450ca419ee2f3f4040b.tar.zst firejail-9e3ba319be6b9546d7e8f450ca419ee2f3f4040b.zip |
Unify all profiles
Diffstat (limited to 'etc/qbittorrent.profile')
-rw-r--r-- | etc/qbittorrent.profile | 37 |
1 files changed, 19 insertions, 18 deletions
diff --git a/etc/qbittorrent.profile b/etc/qbittorrent.profile index 7ae8a22d4..5dcba0825 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 |
@@ -37,9 +36,11 @@ nosound | |||
37 | protocol unix,inet,inet6,netlink | 36 | protocol unix,inet,inet6,netlink |
38 | seccomp | 37 | seccomp |
39 | 38 | ||
40 | # there are some problems with "Open destination folder", see bug #536 | 39 | # private-bin qbittorrent |
41 | #shell none | ||
42 | #private-bin qbittorrent | ||
43 | private-dev | 40 | private-dev |
44 | # private-etc X11,fonts,xdg,resolv.conf | 41 | # private-etc X11,fonts,xdg,resolv.conf |
45 | private-tmp | 42 | private-tmp |
43 | |||
44 | # CLOBBERED COMMENTS | ||
45 | # shell none | ||
46 | # there are some problems with "Open destination folder", see bug # 536 | ||