unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* umask/permissions on new files created via notmuch-insert(1) ?
@ 2018-02-04 19:25 Daniel Kahn Gillmor
  2018-02-04 19:34 ` Gaute Hope
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Kahn Gillmor @ 2018-02-04 19:25 UTC (permalink / raw)
  To: Notmuch Mail

[-- Attachment #1: Type: text/plain, Size: 550 bytes --]

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

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?

        --dkg

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-02-04 21:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-04 19:25 umask/permissions on new files created via notmuch-insert(1) ? Daniel Kahn Gillmor
2018-02-04 19:34 ` Gaute Hope
2018-02-04 20:59   ` Daniel Kahn Gillmor

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).