Comment 6 for bug 1982401

Revision history for this message
Paul Eggert (eggert-cs) wrote :

Since AppArmor is designed to sandbox Firefox, it would make sense for the snapcraft desktop helper script to pass -p to /bin/bash. After all, lots of things can go wrong if the user overrides standard shell utilities.

I'm not sure why Bash is ever used when starting these browsers, though, since you're just scripting and surely don't need or use Bash's features. The snap packages for Chromium and Firefox already require Dash, so why not use Dash everywhere?

I reported the locale problem separately, as Launchpad Bug#1983399.