Debian Codegraph @

etc/profile-a-l/gajim.profile

raw
1 # Firejail profile for gajim
2 # Description: GTK-based Jabber client
3 # This file is overwritten after every install/update
4 # Persistent local customizations
5 include gajim.local
6 # Persistent global definitions
7 include globals.local
8
9 noblacklist ${HOME}/.gnupg
10 noblacklist ${HOME}/.cache/gajim
11 noblacklist ${HOME}/.config/gajim
12 noblacklist ${HOME}/.local/share/gajim
13
14 # Allow python (blacklisted by disable-interpreters.inc)
15 #include allow-python2.inc
16 include allow-python3.inc
17
18 include disable-common.inc
19 include disable-devel.inc
20 include disable-exec.inc
21 include disable-interpreters.inc
22 include disable-programs.inc
23 # Add 'ignore include disable-xdg.inc' to your gajim.local if you need to whitelist folders other than ~/Downloads.
24 include disable-xdg.inc
25
26 mkdir ${HOME}/.gnupg
27 mkdir ${HOME}/.cache/gajim
28 mkdir ${HOME}/.config/gajim
29 mkdir ${HOME}/.local/share/gajim
30 whitelist ${HOME}/.gnupg
31 whitelist ${HOME}/.cache/gajim
32 whitelist ${HOME}/.config/gajim
33 whitelist ${HOME}/.local/share/gajim
34 whitelist ${DOWNLOADS}
35 whitelist ${RUNUSER}/gnupg
36 whitelist /usr/share/gajim
37 whitelist /usr/share/gnupg
38 whitelist /usr/share/gnupg2
39 include whitelist-common.inc
40 include whitelist-runuser-common.inc
41 include whitelist-usr-share-common.inc
42 include whitelist-var-common.inc
43
44 writable-run-user
45
46 apparmor
47 caps.drop all
48 netfilter
49 nodvd
50 nogroups
51 noinput
52 nonewprivs
53 noroot
54 notv
55 nou2f
56 protocol unix,inet,inet6,netlink
57 seccomp
58 tracelog
59
60 disable-mnt
61 private-bin bash,gajim,gajim-history-manager,gpg,gpg2,paplay,python*,sh,zsh
62 private-cache
63 private-dev
64 private-etc @tls-ca,@x11
65 private-tmp
66
67 dbus-user filter
68 dbus-user.own org.gajim.Gajim
69 dbus-user.talk org.gnome.Mutter.IdleMonitor
70 dbus-user.talk ca.desrt.dconf
71 dbus-user.talk org.freedesktop.Notifications
72 dbus-user.talk org.freedesktop.secrets
73 dbus-user.talk org.kde.kwalletd5
74 dbus-user.talk org.kde.kwalletd6
75 dbus-user.talk org.mpris.MediaPlayer2.*
76 dbus-system filter
77 dbus-system.talk org.freedesktop.login1
78 # Add the next line to your gajim.local to enable location plugin support.
79 #dbus-system.talk org.freedesktop.GeoClue2
80
81 restrict-namespaces
82 join-or-start gajim