Re: [PATCH 3/4] Add $tmpdraftdir for composing messages.

"Kevin J. McCarthy" <[email protected]>
Newsgroups gmane.mail.mutt.devel
Message-ID <abEzax6-BKNhxUCJ@qinghai>
On Wed, Mar 11, 2026 at 09:14:51AM +0100, [email protected] wrote:
>shouldn't the default be rather ~/.mutt/ or ~/.cache/mutt ?

This was discussed in the ticket 
(https://gitlab.com/muttmua/mutt/-/issues/65).

There were various ideas, but in the end /var/tmp seemed to be the best 
compromise.  They are basically temp files that we want to survive a 
reboot.

>We dont want other users to read our drafts. The same argument applies 
>for all temp files created by mutt.

They won't be.  umask is 077 in mutt.

-- 
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEiXWpszqjeRA4XFMIre92hIAxa9oFAmmxM2sACgkQre92hIAx
a9oOJw/9G2UgcrV3sKh1KPwSQbqeaI/zhCqtVJduOuPfsP5tLqdMfczvaHbFWG88
BjMrET7AXak+oeVtVYaOIlMpBPSKlJJQIqNZagyFqet0hMEH2NS5A/h9LjPDRcz1
Qj32a6ewg/Fbw6WMl7YthxF1gRfCBf592FAf3r1P9qA9dTGsaHO1ox4yhwur7aTG
tPrU+jmnNzosDBtD/VN+vDLUJ2ApZNteBhl3RkvDLitZTJlRP9C4eRzgDM/IakLv
fo9gjmd5xxV+0mg4WNqbYyULpHGPi3FIcTX3KA+68JldoJhxIKU1GsojOOiqJ1Uu
jllpMqaxk3HP5a/x9/bYGpVRtWP2yYKUo0fp6FCy5jTy+8UuemA/vIKDKwpwHX0t
UtPWgQyLqwKaj8eoBZBnr+Fi8bDiQGuTW/W4HzRd5WGiqHR7GEG+a3STVS4rlTZv
rLHtJ99tTFRwBQCFFvu2vrj9DyUGeArb8y0Ifpkjlqk2W8GuarjouSjZS2tQqvYO
pOxpTf+2aRacgIXmkqZ1D1iLC+v/7JIO5mEtuj7xJwKZB5CruOABpRm5zRVN+1EI
Uz67ddp35s6irfmaDkn1VWX0F0U0Zq+SKQKd9ZSlW27du0tP3ggEBCZcijHjRPTK
6brXrsYDKCXrOJClgfIsFX82p4Tt5cuQWKgu2q5cuUlSsWzJeBs=
=22Cp
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.