aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2024-09-13 08:50:32 +0000
committerLibravatar GitHub <noreply@github.com>2024-09-13 08:50:32 +0000
commit1c059149c3cbab2b679065dcc96ea261634b4360 (patch)
treec1b04a151885947d6dd6246f7c069c99f64a0ed5 /etc
parentprofiles: video: add ~/.dvdcss (#6468) (diff)
downloadfirejail-1c059149c3cbab2b679065dcc96ea261634b4360.tar.gz
firejail-1c059149c3cbab2b679065dcc96ea261634b4360.tar.zst
firejail-1c059149c3cbab2b679065dcc96ea261634b4360.zip
profiles: evolution: add /tmp/evolution-* & disable private-tmp (#6469)
These paths are apparently used for attachments. Disable private-tmp to make it easier to open attachments with external programs. Relates to #5101. Reported-by: @githlp Suggested-by: @rusty-snake
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/disable-programs.inc1
-rw-r--r--etc/profile-a-l/evolution.profile3
2 files changed, 3 insertions, 1 deletions
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc
index a233eaca1..371680b7b 100644
--- a/etc/inc/disable-programs.inc
+++ b/etc/inc/disable-programs.inc
@@ -1262,6 +1262,7 @@ blacklist ${RUNUSER}/qutebrowser
1262blacklist /etc/ssmtp 1262blacklist /etc/ssmtp
1263blacklist /tmp/.wine-* 1263blacklist /tmp/.wine-*
1264blacklist /tmp/akonadi-* 1264blacklist /tmp/akonadi-*
1265blacklist /tmp/evolution-*
1265blacklist /tmp/i3-* 1266blacklist /tmp/i3-*
1266blacklist /tmp/lwjgl_* 1267blacklist /tmp/lwjgl_*
1267blacklist /var/games/nethack 1268blacklist /var/games/nethack
diff --git a/etc/profile-a-l/evolution.profile b/etc/profile-a-l/evolution.profile
index 517bb6206..e703938eb 100644
--- a/etc/profile-a-l/evolution.profile
+++ b/etc/profile-a-l/evolution.profile
@@ -6,6 +6,7 @@ include evolution.local
6# Persistent global definitions 6# Persistent global definitions
7include globals.local 7include globals.local
8 8
9noblacklist /tmp/evolution-*
9noblacklist /var/mail 10noblacklist /var/mail
10noblacklist /var/spool/mail 11noblacklist /var/spool/mail
11noblacklist ${HOME}/.bogofilter 12noblacklist ${HOME}/.bogofilter
@@ -41,7 +42,7 @@ protocol unix,inet,inet6
41seccomp 42seccomp
42 43
43private-dev 44private-dev
44private-tmp 45#private-tmp
45writable-var 46writable-var
46 47
47restrict-namespaces 48restrict-namespaces