aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z/tutanota-desktop.profile
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@protonmail.com>2023-03-13 13:28:43 -0400
committerLibravatar GitHub <noreply@github.com>2023-03-13 13:28:43 -0400
commit7e9739eac9872c2d83bfa67c6cc31d5fdccc5df4 (patch)
tree3cc7bd3691bcf0f59d7de885b5b14fcb259dbc97 /etc/profile-m-z/tutanota-desktop.profile
parentMerge pull request #5715 from pirate486743186/yt-dlp (diff)
parenttutanota-desktop.profile improvements (diff)
downloadfirejail-7e9739eac9872c2d83bfa67c6cc31d5fdccc5df4.tar.gz
firejail-7e9739eac9872c2d83bfa67c6cc31d5fdccc5df4.tar.zst
firejail-7e9739eac9872c2d83bfa67c6cc31d5fdccc5df4.zip
Merge pull request #5325 from pirate486743186/tutanota-desktop.profile-fix
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 4af8b9292..4793e9dbb 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-common.profile 48include electron-common.profile