aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z
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-m-z
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-m-z')
-rw-r--r--etc/profile-m-z/meteo-qt.profile7
1 files changed, 5 insertions, 2 deletions
diff --git a/etc/profile-m-z/meteo-qt.profile b/etc/profile-m-z/meteo-qt.profile
index db87b21bc..3c752a0c7 100644
--- a/etc/profile-m-z/meteo-qt.profile
+++ b/etc/profile-m-z/meteo-qt.profile
@@ -6,7 +6,11 @@ include meteo-qt.local
6# Persistent global definitions 6# Persistent global definitions
7include globals.local 7include globals.local
8 8
9noblacklist ${HOME}/.config/autostart 9# To allow the program to autostart, add the following to meteo-qt.local:
10# Warning: This allows the program to easily escape the sandbox.
11#noblacklist ${HOME}/.config/autostart
12#whitelist ${HOME}/.config/autostart
13
10noblacklist ${HOME}/.config/meteo-qt 14noblacklist ${HOME}/.config/meteo-qt
11 15
12# Allow python (blacklisted by disable-interpreters.inc) 16# Allow python (blacklisted by disable-interpreters.inc)
@@ -21,7 +25,6 @@ include disable-shell.inc
21include disable-xdg.inc 25include disable-xdg.inc
22 26
23mkdir ${HOME}/.config/meteo-qt 27mkdir ${HOME}/.config/meteo-qt
24whitelist ${HOME}/.config/autostart
25whitelist ${HOME}/.config/meteo-qt 28whitelist ${HOME}/.config/meteo-qt
26include whitelist-common.inc 29include whitelist-common.inc
27include whitelist-var-common.inc 30include whitelist-var-common.inc