diff options
author | 2021-01-13 09:20:55 +0000 | |
---|---|---|
committer | 2021-01-13 09:20:55 +0000 | |
commit | abf6ebd6e2897eb6dd431f34052bc98dea23cbd8 (patch) | |
tree | 4d7e69377fedb77ed243d516d8cf6ece449ba731 /etc | |
parent | add new profile: shotwell (#3889) (diff) | |
download | firejail-abf6ebd6e2897eb6dd431f34052bc98dea23cbd8.tar.gz firejail-abf6ebd6e2897eb6dd431f34052bc98dea23cbd8.tar.zst firejail-abf6ebd6e2897eb6dd431f34052bc98dea23cbd8.zip |
new profile: qnapi (#3890)
* add new profile: qnapi
* add new profile: qnapi
* Create qnapi.profile
* add qnapi configs
* Update README.md
* Update README.md
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/disable-programs.inc | 1 | ||||
-rw-r--r-- | etc/profile-m-z/qnapi.profile | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc index 9c98ea79a..26bcb987f 100644 --- a/etc/inc/disable-programs.inc +++ b/etc/inc/disable-programs.inc | |||
@@ -357,6 +357,7 @@ blacklist ${HOME}/.config/psi | |||
357 | blacklist ${HOME}/.config/psi+ | 357 | blacklist ${HOME}/.config/psi+ |
358 | blacklist ${HOME}/.config/qBittorrent | 358 | blacklist ${HOME}/.config/qBittorrent |
359 | blacklist ${HOME}/.config/qBittorrentrc | 359 | blacklist ${HOME}/.config/qBittorrentrc |
360 | blacklist ${HOME}/.config/qnapi.ini | ||
360 | blacklist ${HOME}/.config/qpdfview | 361 | blacklist ${HOME}/.config/qpdfview |
361 | blacklist ${HOME}/.config/qupzilla | 362 | blacklist ${HOME}/.config/qupzilla |
362 | blacklist ${HOME}/.config/qutebrowser | 363 | blacklist ${HOME}/.config/qutebrowser |
diff --git a/etc/profile-m-z/qnapi.profile b/etc/profile-m-z/qnapi.profile new file mode 100644 index 000000000..0d1f9c3de --- /dev/null +++ b/etc/profile-m-z/qnapi.profile | |||
@@ -0,0 +1,55 @@ | |||
1 | # Firejail profile for qnapi | ||
2 | # Description: Qt client for downloading movie subtitles from NapiProjekt, OpenSubtitles and Napisy24 | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include qnapi.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${HOME}/.config/qnapi.ini | ||
10 | |||
11 | ignore noexec /tmp | ||
12 | |||
13 | include disable-common.inc | ||
14 | include disable-devel.inc | ||
15 | include disable-exec.inc | ||
16 | include disable-interpreters.inc | ||
17 | include disable-passwdmgr.inc | ||
18 | include disable-programs.inc | ||
19 | include disable-shell.inc | ||
20 | include disable-xdg.inc | ||
21 | |||
22 | mkfile ${HOME}/.config/qnapi.ini | ||
23 | whitelist ${HOME}/.config/qnapi.ini | ||
24 | whitelist ${DOWNLOADS} | ||
25 | include whitelist-common.inc | ||
26 | include whitelist-usr-share-common.inc | ||
27 | include whitelist-runuser-common.inc | ||
28 | include whitelist-var-common.inc | ||
29 | |||
30 | apparmor | ||
31 | caps.drop all | ||
32 | ipc-namespace | ||
33 | netfilter | ||
34 | nodvd | ||
35 | nogroups | ||
36 | nonewprivs | ||
37 | noroot | ||
38 | nosound | ||
39 | notv | ||
40 | nou2f | ||
41 | novideo | ||
42 | protocol unix,inet,inet6,netlink | ||
43 | seccomp | ||
44 | shell none | ||
45 | tracelog | ||
46 | |||
47 | private-bin 7z,qnapi | ||
48 | private-cache | ||
49 | private-dev | ||
50 | private-etc alternatives,fonts | ||
51 | private-opt none | ||
52 | private-tmp | ||
53 | |||
54 | dbus-user none | ||
55 | dbus-system none | ||