-
Notifications
You must be signed in to change notification settings - Fork 568
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ElectronMail cannot read or write config files #2617
Comments
Thanks for your report. Two problems here: One is a limitation (or let's call it a bug) in how Firejail handles symbolic links and whitelisting. Once whitelisting is solved, you are going to run into a second problem, assuming your systems are using Pulseaudio. |
I just realize there is no |
I got it to work simply by not using any lists:
Although I guess there's no point in that because if I understand correctly there's effectively no sandboxing protection. In principle a good protection to add might be to use a netfilter that blocks connections to Google, since the Electronjs browser is Chromium we can expect it to attempt to phone home. |
Firejail is actually detecting and mapping the symlink correctly, but still fails if the app tries to use the symlink. A better workaround is to force the app to use the non-symbolic path:
That works. |
Since the symbolic link issue is known and probably being worked in other issues, I'll close this one. |
The launch for ElectronMail is done this way:
ElectronMail has Chromium embedded in it. Config files are in
"$HOME"/.config/electron-mail
. The program runs as if it's a first launch with no configuration. When config parameters are entered they work for the session but when the firejail closes"$HOME"/.config/electron-mail
still shows no updated files. Every time ElectronMail runs it's as if it's the first run. But when I run outside firejail the existing configuration is found and used.The output log shows that the directory is whitelisted:
$HOME/.config/
is a symbolic link to$HOME/apps/conf/
.The
/var/log/syslog
file shows no attempts on blacklisted objects. I've also run with--noprofile
and it makes no difference.no tracelog
It's difficult to troubleshoot the problem because the
--tracelog
command is broken.version
firejail version 0.9.44.8
The text was updated successfully, but these errors were encountered: