aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-a-l/gitter.profile
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2024-03-24 06:44:22 +0000
committerLibravatar GitHub <noreply@github.com>2024-03-24 06:44:22 +0000
commit945ad858ed61f71b6eed852f118c292fda8442f9 (patch)
tree6b5bf13955fc3964a12eb5104936c2f05ad5c8a8 /etc/profile-a-l/gitter.profile
parentgconf-editor: remove X11 socket blacklist (diff)
downloadfirejail-945ad858ed61f71b6eed852f118c292fda8442f9.tar.gz
firejail-945ad858ed61f71b6eed852f118c292fda8442f9.tar.zst
firejail-945ad858ed61f71b6eed852f118c292fda8442f9.zip
profiles: deny access to ~/.config/autostart (#6257)
The files in this directory are intended to be automatically executed when the user logs in. In which case, granting write access to this directory allows the program to easily escape the sandbox (by autostarting itself outside of firejail, for example). Misc: This was noticed on #6244.
Diffstat (limited to 'etc/profile-a-l/gitter.profile')
-rw-r--r--etc/profile-a-l/gitter.profile7
1 files changed, 5 insertions, 2 deletions
diff --git a/etc/profile-a-l/gitter.profile b/etc/profile-a-l/gitter.profile
index 54f2923ba..713cb98e9 100644
--- a/etc/profile-a-l/gitter.profile
+++ b/etc/profile-a-l/gitter.profile
@@ -5,7 +5,11 @@ include gitter.local
5# Persistent global definitions 5# Persistent global definitions
6include globals.local 6include globals.local
7 7
8noblacklist ${HOME}/.config/autostart 8# To allow the program to autostart, add the following to gitter.local:
9# Warning: This allows the program to easily escape the sandbox.
10#noblacklist ${HOME}/.config/autostart
11#whitelist ${HOME}/.config/autostart
12
9noblacklist ${HOME}/.config/Gitter 13noblacklist ${HOME}/.config/Gitter
10 14
11include disable-common.inc 15include disable-common.inc
@@ -16,7 +20,6 @@ include disable-programs.inc
16 20
17mkdir ${HOME}/.config/Gitter 21mkdir ${HOME}/.config/Gitter
18whitelist ${DOWNLOADS} 22whitelist ${DOWNLOADS}
19whitelist ${HOME}/.config/autostart
20whitelist ${HOME}/.config/Gitter 23whitelist ${HOME}/.config/Gitter
21whitelist /opt/Gitter 24whitelist /opt/Gitter
22include whitelist-var-common.inc 25include whitelist-var-common.inc