]> git.ipfire.org Git - people/ms/dma.git/commitdiff
dma-mbox-create: group mail only needs to write to mboxes
authorSimon Schubert <2@0x2c.org>
Mon, 1 Nov 2010 21:18:45 +0000 (22:18 +0100)
committerSimon Schubert <2@0x2c.org>
Mon, 1 Nov 2010 21:18:45 +0000 (22:18 +0100)
dma-mbox-create.c

index 8aa8d5dcde5d8ac2df4e1e46d35f8074dddb357a..b79510e34f7c67abe727669cf29ed39a29e14849 100644 (file)
@@ -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 */