aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Jean Lucas <jean@4ray.co>2018-04-27 14:41:43 -0400
committerLibravatar Jean Lucas <jean@4ray.co>2018-04-27 14:45:07 -0400
commitf593164cdd79da7e21301b316e5dfe171c3bdbf8 (patch)
tree86bff6f40e9d4426152fa967b10865604d833e38
parentbaloo tweak (diff)
downloadfirejail-f593164cdd79da7e21301b316e5dfe171c3bdbf8.tar.gz
firejail-f593164cdd79da7e21301b316e5dfe171c3bdbf8.tar.zst
firejail-f593164cdd79da7e21301b316e5dfe171c3bdbf8.zip
Update Gajim profile
- Version 1 ported to Python 3, so remove 2.7-related settings - Plugins get installed in ~/.local/share/gajim/plugins - Enable private-{etc,tmp}
-rw-r--r--etc/disable-programs.inc1
-rw-r--r--etc/gajim.profile14
2 files changed, 5 insertions, 10 deletions
diff --git a/etc/disable-programs.inc b/etc/disable-programs.inc
index c12d841d6..87f151a9a 100644
--- a/etc/disable-programs.inc
+++ b/etc/disable-programs.inc
@@ -348,7 +348,6 @@ blacklist ${HOME}/.kodi
348blacklist ${HOME}/.linphone-history.db 348blacklist ${HOME}/.linphone-history.db
349blacklist ${HOME}/.linphonerc 349blacklist ${HOME}/.linphonerc
350blacklist ${HOME}/.lmmsrc.xml 350blacklist ${HOME}/.lmmsrc.xml
351blacklist ${HOME}/.local/lib/python2.7/site-packages
352blacklist ${HOME}/.local/share/0ad 351blacklist ${HOME}/.local/share/0ad
353blacklist ${HOME}/.local/share/3909/PapersPlease 352blacklist ${HOME}/.local/share/3909/PapersPlease
354blacklist ${HOME}/.local/share/Empathy 353blacklist ${HOME}/.local/share/Empathy
diff --git a/etc/gajim.profile b/etc/gajim.profile
index 02c818443..437ffe3e7 100644
--- a/etc/gajim.profile
+++ b/etc/gajim.profile
@@ -10,8 +10,8 @@ noblacklist ${HOME}/.config/gajim
10noblacklist ${HOME}/.local/share/gajim 10noblacklist ${HOME}/.local/share/gajim
11 11
12# Allow python2.7 (blacklisted by disable-interpreters.inc) 12# Allow python2.7 (blacklisted by disable-interpreters.inc)
13noblacklist ${PATH}/python2* 13noblacklist ${PATH}/python3*
14noblacklist /usr/lib/python2* 14noblacklist /usr/lib/python3*
15 15
16include /etc/firejail/disable-common.inc 16include /etc/firejail/disable-common.inc
17include /etc/firejail/disable-devel.inc 17include /etc/firejail/disable-devel.inc
@@ -21,12 +21,10 @@ include /etc/firejail/disable-programs.inc
21 21
22mkdir ${HOME}/.cache/gajim 22mkdir ${HOME}/.cache/gajim
23mkdir ${HOME}/.config/gajim 23mkdir ${HOME}/.config/gajim
24mkdir ${HOME}/.local/lib/python2.7/site-packages/
25mkdir ${HOME}/.local/share/gajim 24mkdir ${HOME}/.local/share/gajim
26mkdir ${HOME}/Downloads 25mkdir ${HOME}/Downloads
27whitelist ${HOME}/.cache/gajim 26whitelist ${HOME}/.cache/gajim
28whitelist ${HOME}/.config/gajim 27whitelist ${HOME}/.config/gajim
29whitelist ${HOME}/.local/lib/python2.7/site-packages/
30whitelist ${HOME}/.local/share/gajim 28whitelist ${HOME}/.local/share/gajim
31whitelist ${HOME}/Downloads 29whitelist ${HOME}/Downloads
32include /etc/firejail/whitelist-common.inc 30include /etc/firejail/whitelist-common.inc
@@ -43,9 +41,7 @@ seccomp
43shell none 41shell none
44 42
45disable-mnt 43disable-mnt
46private-bin python2.7,gajim 44private-bin python,gajim
47private-dev 45private-dev
48# private-etc fonts 46private-etc fonts
49# private-tmp 47private-tmp
50# Allow the local python 2.7 site packages, in case any plugins are using these
51read-only ${HOME}/.local/lib/python2.7/site-packages/