diff options
author | lulf <lulf@FreeBSD.org> | 2009-03-25 07:01:45 +0000 |
---|---|---|
committer | lulf <lulf@FreeBSD.org> | 2009-03-25 07:01:45 +0000 |
commit | ad7291d1d23991c91f5f45a2ca8ab783c3572867 (patch) | |
tree | f1309b948dbbea998bac6557c24c1aeb2d75f0f5 | |
parent | 843c731c8dbe655f6c694daa47475b9e2ffb3d43 (diff) | |
download | FreeBSD-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.c | 1 |
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"); |