From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
To: Notmuch Mail <notmuch@notmuchmail.org>
Subject: umask/permissions on new files created via notmuch-insert(1) ?
Date: Sun, 04 Feb 2018 14:25:23 -0500 [thread overview]
Message-ID: <87k1vs1rrw.fsf@fifthhorseman.net> (raw)
[-- 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 --]
next reply other threads:[~2018-02-04 19:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-04 19:25 Daniel Kahn Gillmor [this message]
2018-02-04 19:34 ` umask/permissions on new files created via notmuch-insert(1) ? Gaute Hope
2018-02-04 20:59 ` Daniel Kahn Gillmor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k1vs1rrw.fsf@fifthhorseman.net \
--to=dkg@fifthhorseman.net \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).