aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/firecfg/firecfg.config3
-rw-r--r--src/firejail/fs.c7
2 files changed, 10 insertions, 0 deletions
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config
index 2ed70664b..251b23905 100644
--- a/src/firecfg/firecfg.config
+++ b/src/firecfg/firecfg.config
@@ -156,6 +156,7 @@ dig
156digikam 156digikam
157dillo 157dillo
158dino 158dino
159dino-im
159discord 160discord
160discord-canary 161discord-canary
161display 162display
@@ -441,6 +442,7 @@ min
441mindless 442mindless
442minetest 443minetest
443mirrormagic 444mirrormagic
445mocp
444mousepad 446mousepad
445mp3splt 447mp3splt
446mp3splt-gtk 448mp3splt-gtk
@@ -549,6 +551,7 @@ planmaker18
549planmaker18free 551planmaker18free
550playonlinux 552playonlinux
551pluma 553pluma
554plv
552pngquant 555pngquant
553polari 556polari
554ppsspp 557ppsspp
diff --git a/src/firejail/fs.c b/src/firejail/fs.c
index b906f3047..2000ffc62 100644
--- a/src/firejail/fs.c
+++ b/src/firejail/fs.c
@@ -111,6 +111,13 @@ static void disable_file(OPERATION op, const char *filename) {
111 return; 111 return;
112 } 112 }
113 113
114 // check for firejail executable
115 // we migth have a file found in ${PATH} pointing to /usr/bin/firejail
116 // blacklisting it here will end up breaking situations like user clicks on a link in Thunderbird
117 // and expects Firefox to open in the same sandbox
118 if (strcmp(BINDIR "/firejail", fname) == 0)
119 return;
120
114 // modify the file 121 // modify the file
115 if (op == BLACKLIST_FILE || op == BLACKLIST_NOLOG) { 122 if (op == BLACKLIST_FILE || op == BLACKLIST_NOLOG) {
116 // some distros put all executables under /usr/bin and make /bin a symbolic link 123 // some distros put all executables under /usr/bin and make /bin a symbolic link