From ba22218e90f7bb114cab7c9de9f66aaf7f43a132 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Groenvall?= Date: Sun, 3 Apr 1994 12:13:44 +0000 Subject: [PATCH] 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 --- appl/popper/pop_dropcopy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appl/popper/pop_dropcopy.c b/appl/popper/pop_dropcopy.c index 8464bf6be..895ba6c0f 100644 --- a/appl/popper/pop_dropcopy.c +++ b/appl/popper/pop_dropcopy.c @@ -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,