Debian Codegraph @

etc/profile-a-l/geary.profile

raw
1 # Firejail profile for geary
2 # Description: Lightweight email client designed for the GNOME desktop
3 # This file is overwritten after every install/update
4 # Persistent local customizations
5 include geary.local
6 # Persistent global definitions
7 include globals.local
8
9 noblacklist ${HOME}/.cache/evolution
10 noblacklist ${HOME}/.cache/folks
11 noblacklist ${HOME}/.cache/geary
12 noblacklist ${HOME}/.config/evolution
13 noblacklist ${HOME}/.config/geary
14 noblacklist ${HOME}/.local/share/evolution
15 noblacklist ${HOME}/.local/share/geary
16 noblacklist ${HOME}/.local/share/pki
17 noblacklist ${HOME}/.mailcap
18 noblacklist ${HOME}/.pki
19
20 # sh is needed to allow Firefox to open links
21 include allow-bin-sh.inc
22
23 include disable-common.inc
24 include disable-devel.inc
25 include disable-exec.inc
26 include disable-interpreters.inc
27 include disable-programs.inc
28 include disable-shell.inc
29 include disable-xdg.inc
30
31 # The lines below are needed to find the default Firefox profile name, to allow
32 # opening links in an existing instance of Firefox (note that it still fails if
33 # there isn't a Firefox instance running with the default profile; see #5352)
34 noblacklist ${HOME}/.config/mozilla
35 noblacklist ${HOME}/.mozilla
36 whitelist ${HOME}/.config/mozilla/firefox/profiles.ini
37 whitelist ${HOME}/.mozilla/firefox/profiles.ini
38
39 mkdir ${HOME}/.cache/evolution
40 mkdir ${HOME}/.cache/folks
41 mkdir ${HOME}/.cache/geary
42 mkdir ${HOME}/.config/evolution
43 mkdir ${HOME}/.config/geary
44 mkdir ${HOME}/.local/share/evolution
45 mkdir ${HOME}/.local/share/geary
46 whitelist ${DOWNLOADS}
47 whitelist ${HOME}/.cache/evolution
48 whitelist ${HOME}/.cache/folks
49 whitelist ${HOME}/.cache/geary
50 whitelist ${HOME}/.config/evolution
51 whitelist ${HOME}/.config/geary
52 whitelist ${HOME}/.local/share/evolution
53 whitelist ${HOME}/.local/share/geary
54 whitelist ${HOME}/.local/share/pki
55 whitelist ${HOME}/.mailcap
56 whitelist ${HOME}/.pki
57 whitelist /usr/share/geary
58 include whitelist-common.inc
59 include whitelist-runuser-common.inc
60 include whitelist-usr-share-common.inc
61 include whitelist-var-common.inc
62
63 apparmor
64 caps.drop all
65 #ipc-namespace # may cause issues with X11
66 #machine-id
67 netfilter
68 no3d
69 nodvd
70 nogroups
71 noinput
72 nonewprivs
73 noroot
74 #nosound
75 notv
76 nou2f
77 novideo
78 protocol unix,inet,inet6
79 seccomp
80 seccomp.block-secondary
81 tracelog
82
83 #disable-mnt
84 #private-bin geary,sh
85 private-cache
86 private-dev
87 private-etc @tls-ca,@x11,mailcap,mime.types
88 private-tmp
89
90 dbus-user filter
91 dbus-user.own org.gnome.Geary
92 dbus-user.talk ca.desrt.dconf
93 dbus-user.talk org.freedesktop.Notifications
94 dbus-user.talk org.freedesktop.secrets
95 dbus-user.talk org.gnome.Contacts
96 dbus-user.talk org.gnome.OnlineAccounts
97 dbus-user.talk org.gnome.evolution.dataserver.AddressBook10
98 dbus-user.talk org.gnome.evolution.dataserver.Sources5
99 ?ALLOW_TRAY: dbus-user.talk org.kde.StatusNotifierWatcher
100 # Allow D-Bus communication with Firefox for opening links
101 dbus-user.talk org.mozilla.*
102 dbus-system none
103
104 restrict-namespaces