-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sunday, September 21 at 03:01 PM, quoth Gary Johnson:
>> It sounds like your mailcap erroneously hardcoded the location of
>> temporary html files as /tmp/mutt.html, which is not what mutt
>> uses.
>
> Yes it is what mutt uses. See the mutt manual and the tmpdir
> variable. It defaults to "/tmp" unless the environment variable
> TMPDIR is set.
You misunderstood me. I wasn't claiming that mutt didn't use /tmp.
>> A correct mailcap entry should look something like this:
>>
>> text/html; w3m -dump -T text/html %s; needsterminal; copiousoutput;
>>
>> Note the "%s" instead of "/tmp/mutt.html". That's so that mutt can
>> tell w3m where the temporary file is. It is usually something with an
>> unpredictable name (if it was a predictable name, it would be a
>> security problem), and NOT /tmp/mutt.html.
>
> Well, in that case, I guess mutt 1.5.17 has a security problem.
> Mutt does use random file names for files to be edited, but not for
> files that are just viewed.
Ah! You're right. Interesting...
~Kyle
- --
The longer I live the more I see that I am never wrong about anything,
and that all the pains that I have so humbly taken to verify my
notions have only wasted my time.
-- George Bernard Shaw
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iD8DBQFI1xQbBkIOoMqOI14RAsrRAKD16cH8A5YoRQnPYltZMZzNCqODNgCeM344
OYDTI6JKq737OU0kNUjIZV8=
=8NvE
-----END PGP SIGNATURE-----