diff options
author | 2023-01-04 21:13:22 +0000 | |
---|---|---|
committer | 2023-01-04 21:13:22 +0000 | |
commit | cde712aec5453a9ee204fcf31b4223a07075681a (patch) | |
tree | 2da3a7adfe3e4ae2851124db05fb7e14c2216f0a /etc | |
parent | Merge branch 'master' of ssh://github.com/netblue30/firejail (diff) | |
download | firejail-cde712aec5453a9ee204fcf31b4223a07075681a.tar.gz firejail-cde712aec5453a9ee204fcf31b4223a07075681a.tar.zst firejail-cde712aec5453a9ee204fcf31b4223a07075681a.zip |
balsa: refactor as email-common.profile redirect
Diffstat (limited to 'etc')
-rw-r--r-- | etc/profile-a-l/balsa.profile | 61 |
1 files changed, 2 insertions, 59 deletions
diff --git a/etc/profile-a-l/balsa.profile b/etc/profile-a-l/balsa.profile index 661356ff6..c3a3dcf57 100644 --- a/etc/profile-a-l/balsa.profile +++ b/etc/profile-a-l/balsa.profile | |||
@@ -7,76 +7,19 @@ include balsa.local | |||
7 | include globals.local | 7 | include globals.local |
8 | 8 | ||
9 | noblacklist ${HOME}/.balsa | 9 | noblacklist ${HOME}/.balsa |
10 | noblacklist ${HOME}/.gnupg | ||
11 | noblacklist ${HOME}/.mozilla | ||
12 | noblacklist ${HOME}/.signature | ||
13 | noblacklist ${HOME}/mail | 10 | noblacklist ${HOME}/mail |
14 | noblacklist /var/mail | ||
15 | noblacklist /var/spool/mail | ||
16 | 11 | ||
17 | include disable-common.inc | ||
18 | include disable-devel.inc | ||
19 | include disable-exec.inc | ||
20 | include disable-interpreters.inc | ||
21 | include disable-programs.inc | ||
22 | include disable-shell.inc | 12 | include disable-shell.inc |
23 | include disable-xdg.inc | ||
24 | 13 | ||
25 | mkdir ${HOME}/.balsa | 14 | mkdir ${HOME}/.balsa |
26 | mkdir ${HOME}/.gnupg | ||
27 | mkfile ${HOME}/.signature | ||
28 | mkdir ${HOME}/mail | 15 | mkdir ${HOME}/mail |
29 | whitelist ${HOME}/.balsa | 16 | whitelist ${HOME}/.balsa |
30 | whitelist ${HOME}/.gnupg | ||
31 | whitelist ${HOME}/.mozilla/firefox/profiles.ini | ||
32 | whitelist ${HOME}/.signature | ||
33 | whitelist ${HOME}/mail | 17 | whitelist ${HOME}/mail |
34 | whitelist ${RUNUSER}/gnupg | ||
35 | whitelist /usr/share/balsa | 18 | whitelist /usr/share/balsa |
36 | whitelist /usr/share/gnupg | ||
37 | whitelist /usr/share/gnupg2 | ||
38 | whitelist /var/mail | ||
39 | whitelist /var/spool/mail | ||
40 | include whitelist-common.inc | ||
41 | include whitelist-runuser-common.inc | ||
42 | include whitelist-usr-share-common.inc | ||
43 | include whitelist-var-common.inc | ||
44 | 19 | ||
45 | apparmor | ||
46 | caps.drop all | ||
47 | netfilter | ||
48 | no3d | ||
49 | nodvd | ||
50 | nogroups | ||
51 | noinput | ||
52 | nonewprivs | ||
53 | noroot | ||
54 | nosound | ||
55 | notv | ||
56 | nou2f | ||
57 | novideo | ||
58 | protocol unix,inet,inet6 | ||
59 | seccomp | ||
60 | tracelog | ||
61 | |||
62 | # disable-mnt | ||
63 | # Add "pinentry-curses,pinentry-emacs,pinentry-fltk,pinentry-gnome3,pinentry-gtk,pinentry-gtk2,pinentry-gtk-2,pinentry-qt,pinentry-qt4,pinentry-tty,pinentry-x2go,pinentry-kwallet" for gpg | ||
64 | # Add "ignore private-bin" for hyperlinks or have a look at the private-bins in firefox.profile and firefox-common.profile. | ||
65 | private-bin balsa,balsa-ab,gpg,gpg-agent,gpg2,gpgsm | 20 | private-bin balsa,balsa-ab,gpg,gpg-agent,gpg2,gpgsm |
66 | private-cache | ||
67 | private-dev | ||
68 | private-etc alternatives,ca-certificates,crypto-policies,dconf,fonts,gcrypt,groups,gtk-2.0,gtk-3.0,hostname,hosts,ld.so.cache,ld.so.preload,mailname,passwd,pki,resolv.conf,selinux,ssl,xdg | ||
69 | private-tmp | ||
70 | writable-run-user | ||
71 | writable-var | ||
72 | 21 | ||
73 | dbus-user filter | ||
74 | dbus-user.own org.desktop.Balsa | 22 | dbus-user.own org.desktop.Balsa |
75 | dbus-user.talk ca.desrt.dconf | ||
76 | dbus-user.talk org.freedesktop.Notifications | ||
77 | dbus-user.talk org.freedesktop.secrets | ||
78 | dbus-user.talk org.gnome.keyring.SystemPrompter | ||
79 | dbus-system none | ||
80 | 23 | ||
81 | read-only ${HOME}/.mozilla/firefox/profiles.ini | 24 | # Redirect |
82 | restrict-namespaces | 25 | include email-common.profile |