diff options
author | 2017-08-07 13:41:08 -0500 | |
---|---|---|
committer | 2017-08-07 13:41:08 -0500 | |
commit | e24b15f8647997dbb26a7152c921af94e36294ce (patch) | |
tree | 4c98b42844c8c67853643d4b4b7253dbd8764f1e /etc/gajim.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/gajim.profile')
-rw-r--r-- | etc/gajim.profile | 48 |
1 files changed, 23 insertions, 25 deletions
diff --git a/etc/gajim.profile b/etc/gajim.profile index a3deb2c73..451a93c31 100644 --- a/etc/gajim.profile +++ b/etc/gajim.profile | |||
@@ -1,34 +1,30 @@ | |||
1 | # Persistent global definitions go here | 1 | # Firejail profile for gajim |
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/gajim.local | 4 | include /etc/firejail/gajim.local |
5 | # Persistent global definitions | ||
6 | include /etc/firejail/globals.local | ||
7 | 7 | ||
8 | # Firejail profile for Gajim | ||
9 | noblacklist ${HOME}/.local/share/gajim | ||
10 | noblacklist ${HOME}/.config/gajim | ||
11 | noblacklist ${HOME}/.cache/gajim | 8 | noblacklist ${HOME}/.cache/gajim |
9 | noblacklist ${HOME}/.config/gajim | ||
10 | noblacklist ${HOME}/.local/share/gajim | ||
11 | |||
12 | include /etc/firejail/disable-common.inc | ||
13 | include /etc/firejail/disable-devel.inc | ||
14 | include /etc/firejail/disable-passwdmgr.inc | ||
15 | include /etc/firejail/disable-programs.inc | ||
12 | 16 | ||
13 | mkdir ${HOME}/.cache/gajim | 17 | mkdir ${HOME}/.cache/gajim |
14 | mkdir ${HOME}/.local/share/gajim | ||
15 | mkdir ${HOME}/.config/gajim | 18 | mkdir ${HOME}/.config/gajim |
16 | mkdir ${HOME}/Downloads | ||
17 | |||
18 | # Allow the local python 2.7 site packages, in case any plugins are using these | ||
19 | mkdir ${HOME}/.local/lib/python2.7/site-packages/ | 19 | mkdir ${HOME}/.local/lib/python2.7/site-packages/ |
20 | whitelist ${HOME}/.local/lib/python2.7/site-packages/ | 20 | mkdir ${HOME}/.local/share/gajim |
21 | read-only ${HOME}/.local/lib/python2.7/site-packages/ | 21 | mkdir ${HOME}/Downloads |
22 | |||
23 | whitelist ${HOME}/.cache/gajim | 22 | whitelist ${HOME}/.cache/gajim |
24 | whitelist ${HOME}/.local/share/gajim | ||
25 | whitelist ${HOME}/.config/gajim | 23 | whitelist ${HOME}/.config/gajim |
24 | whitelist ${HOME}/.local/lib/python2.7/site-packages/ | ||
25 | whitelist ${HOME}/.local/share/gajim | ||
26 | whitelist ${HOME}/Downloads | 26 | whitelist ${HOME}/Downloads |
27 | 27 | include /etc/firejail/whitelist-common.inc | |
28 | include /etc/firejail/disable-common.inc | ||
29 | include /etc/firejail/disable-passwdmgr.inc | ||
30 | include /etc/firejail/disable-programs.inc | ||
31 | include /etc/firejail/disable-devel.inc | ||
32 | 28 | ||
33 | caps.drop all | 29 | caps.drop all |
34 | netfilter | 30 | netfilter |
@@ -39,8 +35,10 @@ protocol unix,inet,inet6 | |||
39 | seccomp | 35 | seccomp |
40 | shell none | 36 | shell none |
41 | 37 | ||
42 | #private-bin python2.7 gajim | ||
43 | #private-etc fonts | ||
44 | private-dev | ||
45 | #private-tmp | ||
46 | disable-mnt | 38 | disable-mnt |
39 | # private-bin python2.7 gajim | ||
40 | private-dev | ||
41 | # private-etc fonts | ||
42 | # private-tmp | ||
43 | # Allow the local python 2.7 site packages, in case any plugins are using these | ||
44 | read-only ${HOME}/.local/lib/python2.7/site-packages/ | ||