Always create temporary maildrop with small permissions, even when we

don't change uid.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Björn Groenvall
1994-04-03 12:13:44 +00:00
parent 882b8d1481
commit ba22218e90

View File

@@ -70,8 +70,8 @@ struct passwd * pwp;
/* Now give this file to the user */
if (pwp) {
(void) chown(template,pwp->pw_uid, pwp->pw_gid);
(void) chmod(template,0600);
}
(void) chmod(template,0600);
/* Now link this file to the temporary maildrop. If this fails it
* is probably because the temporary maildrop already exists. If so,