From: Simon Schubert <2@0x2c.org> Date: Mon, 1 Nov 2010 21:18:45 +0000 (+0100) Subject: dma-mbox-create: group mail only needs to write to mboxes X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7f06fda9808ce6962f10d07f7166f4abfc45f84;p=people%2Fms%2Fdma.git dma-mbox-create: group mail only needs to write to mboxes --- diff --git a/dma-mbox-create.c b/dma-mbox-create.c index 8aa8d5d..b79510e 100644 --- a/dma-mbox-create.c +++ b/dma-mbox-create.c @@ -107,7 +107,7 @@ main(int argc, char **argv) if (fchown(f, user_uid, mail_gid)) return (1); - if (fchmod(f, 0660)) + if (fchmod(f, 0620)) return (1); /* file should be present with the right owner and permissions */