aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z/tutanota-desktop.profile
diff options
context:
space:
mode:
authorLibravatar pirate486743186 <>2022-09-04 18:07:16 +0200
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-02-26 18:11:42 -0300
commit79e8629f90b84250891406ab86f6ab6643e268c0 (patch)
treec1515bc48faa925882148e0bb7a8a1b574e909ae /etc/profile-m-z/tutanota-desktop.profile
parentparsecd: ordering fixes (#5682) (diff)
downloadfirejail-79e8629f90b84250891406ab86f6ab6643e268c0.tar.gz
firejail-79e8629f90b84250891406ab86f6ab6643e268c0.tar.zst
firejail-79e8629f90b84250891406ab86f6ab6643e268c0.zip
tutanota-desktop.profile improvements
Diffstat (limited to 'etc/profile-m-z/tutanota-desktop.profile')
-rw-r--r--etc/profile-m-z/tutanota-desktop.profile21
1 files changed, 19 insertions, 2 deletions
diff --git a/etc/profile-m-z/tutanota-desktop.profile b/etc/profile-m-z/tutanota-desktop.profile
index 56eacf338..b6073878a 100644
--- a/etc/profile-m-z/tutanota-desktop.profile
+++ b/etc/profile-m-z/tutanota-desktop.profile
@@ -1,5 +1,5 @@
1# Firejail profile for tutanota-desktop 1# Firejail profile for tutanota-desktop
2# Description: Encrypted email client 2# Description: Official desktop client for the Tutanota E2E encrypted email provider
3# This file is overwritten after every install/update 3# This file is overwritten after every install/update
4# Persistent local customizations 4# Persistent local customizations
5include tutanota-desktop.local 5include tutanota-desktop.local
@@ -9,8 +9,13 @@ include globals.local
9noblacklist ${HOME}/.config/tuta_integration 9noblacklist ${HOME}/.config/tuta_integration
10noblacklist ${HOME}/.config/tutanota-desktop 10noblacklist ${HOME}/.config/tutanota-desktop
11 11
12ignore dbus-user none
13ignore disable-mnt
12ignore noexec /tmp 14ignore noexec /tmp
13 15
16# sh is needed to allow Firefox to open links
17include allow-bin-sh.inc
18
14include disable-shell.inc 19include disable-shell.inc
15 20
16mkdir ${HOME}/.config/tuta_integration 21mkdir ${HOME}/.config/tuta_integration
@@ -18,14 +23,26 @@ mkdir ${HOME}/.config/tutanota-desktop
18whitelist ${HOME}/.config/tuta_integration 23whitelist ${HOME}/.config/tuta_integration
19whitelist ${HOME}/.config/tutanota-desktop 24whitelist ${HOME}/.config/tutanota-desktop
20 25
21# These lines are needed to allow Firefox to open links 26# The lines below are needed to find the default Firefox profile name, to allow
27# opening links in an existing instance of Firefox (note that it still fails if
28# there isn't a Firefox instance running with the default profile; see #5352)
22noblacklist ${HOME}/.mozilla 29noblacklist ${HOME}/.mozilla
23whitelist ${HOME}/.mozilla/firefox/profiles.ini 30whitelist ${HOME}/.mozilla/firefox/profiles.ini
24read-only ${HOME}/.mozilla/firefox/profiles.ini 31read-only ${HOME}/.mozilla/firefox/profiles.ini
25 32
33machine-id
34nosound
35
26?HAS_APPIMAGE: ignore private-dev 36?HAS_APPIMAGE: ignore private-dev
27private-etc @tls-ca 37private-etc @tls-ca
28private-opt tutanota-desktop 38private-opt tutanota-desktop
29 39
40dbus-user filter
41dbus-user.talk org.freedesktop.Notifications
42dbus-user.talk org.freedesktop.secrets
43dbus-user.talk org.gnome.keyring.SystemPrompter
44# allow D-Bus communication with firefox for opening links
45dbus-user.talk org.mozilla.*
46
30# Redirect 47# Redirect
31include electron.profile 48include electron.profile