$TMPDIR (was Re: Security: Mutt and mailcap rules)

Derek Martin invalid at pizzashack.org
Mon Jun 24 23:36:54 UTC 2019


On Tue, Jun 25, 2019 at 12:45:02AM +0200, Steffen Nurpmeso wrote:
> Hmm, while i totally support the $TMPDIR environment variable, and
> personally dislike it a lot if i set it and someone simply does
> not adhere to it, and if its only for testing purposes.., it shall
> be remarked that OpenBSD "removed support for $TMPDIR" in the base
> system, as far as i know and recall.  Are they young?  Well, yes..

I think you must be mistaken, because A) that would be insane, B)
would require a lot of pointless work to remove it from many shell
utilities (and all of the shells), and C) I see references to it
being supported, for example in ssh and ssh-agent, the mktemp man
page, the ksh (openbsd's default shell) man page, etc..

I did see reference to support for $TMPDIR being removed from crontab
("because it's not useful in crontab"), which seems kind of idiotic to
me, as well as sendbug and newfs (why would newfs need $TMPDIR anyway?
Though it seems useful in sendbug)... but that does not amount to it
being removed from the core system.

That said, none of it matters in the context of Mutt, unless they went
out of their way to remove support for it in their port... but even
then you can always just get the source.

-- 
Derek D. Martin    http://www.pizzashack.org/   GPG Key ID: 0xDFBEAD02
-=-=-=-=-
This message is posted from an invalid address.  Replying to it will result in
undeliverable mail due to spam prevention.  Sorry for the inconvenience.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mutt.org/pipermail/mutt-dev/attachments/20190624/f3ff261f/attachment.asc>


More information about the Mutt-dev mailing list