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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user