diff options
author | 2021-01-05 12:43:22 +0000 | |
---|---|---|
committer | 2021-01-05 12:43:22 +0000 | |
commit | ef5c6c3f9afe11fe72c572299864e83b4f9115bd (patch) | |
tree | 319ad23f2445c971707a31bb93881b7ee7853b9c /etc | |
parent | drop doubled disable-exec in signal-desktop (#3869) (diff) | |
download | firejail-ef5c6c3f9afe11fe72c572299864e83b4f9115bd.tar.gz firejail-ef5c6c3f9afe11fe72c572299864e83b4f9115bd.tar.zst firejail-ef5c6c3f9afe11fe72c572299864e83b4f9115bd.zip |
new profile: tutanota-desktop (#3870)
* new profile: tutanota-desktop
* add tutanota-desktop to firecfg
* blacklist tutanota-desktop files
* Create tutanota-desktop.profile
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/disable-programs.inc | 2 | ||||
-rw-r--r-- | etc/profile-m-z/tutanota-desktop.profile | 32 |
2 files changed, 34 insertions, 0 deletions
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc index 7ab11e620..74d45c4ca 100644 --- a/etc/inc/disable-programs.inc +++ b/etc/inc/disable-programs.inc | |||
@@ -395,6 +395,8 @@ blacklist ${HOME}/.config/tox | |||
395 | blacklist ${HOME}/.config/transgui | 395 | blacklist ${HOME}/.config/transgui |
396 | blacklist ${HOME}/.config/transmission | 396 | blacklist ${HOME}/.config/transmission |
397 | blacklist ${HOME}/.config/truecraft | 397 | blacklist ${HOME}/.config/truecraft |
398 | blacklist ${HOME}/.config/tuta_integration | ||
399 | blacklist ${HOME}/.config/tutanota-desktop | ||
398 | blacklist ${HOME}/.config/tvbrowser | 400 | blacklist ${HOME}/.config/tvbrowser |
399 | blacklist ${HOME}/.config/uGet | 401 | blacklist ${HOME}/.config/uGet |
400 | blacklist ${HOME}/.config/ungoogled-chromium | 402 | blacklist ${HOME}/.config/ungoogled-chromium |
diff --git a/etc/profile-m-z/tutanota-desktop.profile b/etc/profile-m-z/tutanota-desktop.profile new file mode 100644 index 000000000..ab83dfa5b --- /dev/null +++ b/etc/profile-m-z/tutanota-desktop.profile | |||
@@ -0,0 +1,32 @@ | |||
1 | # Firejail profile for tutanota-desktop | ||
2 | # Description: Encrypted email client | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include tutanota-desktop.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${HOME}/.config/tuta_integration | ||
10 | noblacklist ${HOME}/.config/tutanota-desktop | ||
11 | |||
12 | ignore noexec /tmp | ||
13 | |||
14 | include disable-shell.inc | ||
15 | |||
16 | mkdir ${HOME}/.config/tuta_integration | ||
17 | mkdir ${HOME}/.config/tutanota-desktop | ||
18 | whitelist ${HOME}/.config/tuta_integration | ||
19 | whitelist ${HOME}/.config/tutanota-desktop | ||
20 | |||
21 | # These lines are needed to allow Firefox to open links | ||
22 | noblacklist ${HOME}/.mozilla | ||
23 | whitelist ${HOME}/.mozilla/firefox/profiles.ini | ||
24 | read-only ${HOME}/.mozilla/firefox/profiles.ini | ||
25 | |||
26 | disable-mnt | ||
27 | ?HAS_APPIMAGE: ignore private-dev | ||
28 | private-etc alternatives,ca-certificates,crypto-policies,fonts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,machine-id,nsswitch.conf,pki,resolv.conf,ssl | ||
29 | private-opt tutanota-desktop | ||
30 | |||
31 | # Redirect | ||
32 | include electron.profile | ||