umask/permissions on new files created via notmuch-insert(1) ?

Daniel Kahn Gillmor dkg at
Sun Feb 4 11:25:23 PST 2018

during some maintenance work today, bremner and i noticed that message
delivery via "notmuch insert" creates files that are stricter than the

using notmuch 0.23.6, with umask 027, "notmuch insert" created files
with mode 0600.  i would have expected 0640.

using strace, i don't see notmuch invoking any system calls to umask()
or chmod() so i'm not sure how these permissions are getting set in the
first place.

is there a reason that "notmuch insert" should be stricter than the
umask?  does this ring any bells for people?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <>

More information about the notmuch mailing list