summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlulf <lulf@FreeBSD.org>2009-03-25 07:01:45 +0000
committerlulf <lulf@FreeBSD.org>2009-03-25 07:01:45 +0000
commitad7291d1d23991c91f5f45a2ca8ab783c3572867 (patch)
treef1309b948dbbea998bac6557c24c1aeb2d75f0f5
parent843c731c8dbe655f6c694daa47475b9e2ffb3d43 (diff)
downloadFreeBSD-src-ad7291d1d23991c91f5f45a2ca8ab783c3572867.zip
FreeBSD-src-ad7291d1d23991c91f5f45a2ca8ab783c3572867.tar.gz
- Remember to set umask before setting attributes of RCS file.
Tested by: dougb MFC after: 2 days
-rw-r--r--contrib/csup/updater.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/csup/updater.c b/contrib/csup/updater.c
index 40122ac..7d351c1 100644
--- a/contrib/csup/updater.c
+++ b/contrib/csup/updater.c
@@ -1661,6 +1661,7 @@ updater_rcsedit(struct updater *up, struct file_update *fup, char *name,
else
lprintf(1, " Touch %s", fup->coname);
/* Install new attributes. */
+ fattr_umask(sr->sr_serverattr, coll->co_umask);
fattr_install(sr->sr_serverattr, fup->destpath, NULL);
if (fup->attic)
lprintf(1, " -> Attic");
OpenPOWER on IntegriCloud