security: create ~/.config/firejail to prevent sandbox escape (#7154)

A quick-and-dirty fix for
https://github.com/netblue30/firejail/issues/7132#issuecomment-4239282977
This commit is contained in:
Charly Coste 2026-05-01 13:49:04 +02:00 committed by GitHub
parent 45c9e2e7c1
commit 0a95081e3a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -905,6 +905,7 @@ void disable_config(void) {
char *fname;
if (asprintf(&fname, "%s/.config/firejail", cfg.homedir) == -1)
errExit("asprintf");
fs_mkdir(fname);
disable_file(BLACKLIST_FILE, fname);
free(fname);
#endif