From: epg <> Date: Sun, 25 Aug 2002 02:44:45 +0000 (+0000) Subject: (deliver): Create message files with mode 0600 instead of 0644. X-Git-Url: https://diplodocus.org/git/mdeliver/commitdiff_plain/d4cc8846dbe722263660f425bdba1afb00fb33b2 (deliver): Create message files with mode 0600 instead of 0644. --- diff --git a/mdeliver.c b/mdeliver.c index a874869..8139f45 100644 --- a/mdeliver.c +++ b/mdeliver.c @@ -111,7 +111,7 @@ deliver(char *maildir, char *newfn) sleep(2); } - fd = open(fn, O_WRONLY | O_EXCL | O_CREAT, 0644); + fd = open(fn, O_WRONLY | O_EXCL | O_CREAT, 0600); if (fd < 0) { err(EX_TEMPFAIL, "Failed open(%s)", fn); }