On 2022-10-08 09:34, Chris Green wrote: > On Sat, Oct 08, 2022 at 10:25:29AM +0200, Jan Eden via Mutt-users wrote: > > Hi, > > > > I recently configured mutt on a Linux system, and cannot display HTML > > messages in the default browser. mailcap contains the following lines: > > > > text/html; open %s; > > text/html; w3m -I %{charset} -T text/html; copiousoutput > > application/pdf; open %s; copiousoutput > > > > w3m is used automatically (auto_view text/html), and PDF documents are > > opened correctly in evince. > > > > But when I try to open an HTML message manually, Firefox displays either > > a permission denied error (with AppArmor enabled), or a file not found > > error – both pointing to the message's filename. > > > > How can I allow Firefox to access and display the message? > > > I no longer use Firefox on my xubuntu system (I've moved to Vivaldi) > but I seem to remember that Firefox's security paranoia means that you > now have to explicitly configure to allow access to files on the local > system.
With AppArmor disabled, Firefox tries to display the message, but cannot find the message file in /var/tmp/ – %s seems to point to that directory. In Firefox' settings, I did not find any parameter to keep the browser from accessing local files. > By 'manually' I presume you mean v[iew] the message parts and then > m[view-mailcap] the html. Yes. - Jan
signature.asc
Description: PGP signature