diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2007-02-01 20:33:04 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2007-02-01 20:33:04 +0000 |
commit | 41d09ad1c420c0dbd17d8c857e592cf24b3fdce3 (patch) | |
tree | 200867910404fd9dace919e511f627fd6a148a05 /usr.bin/cvs | |
parent | e7c3daa61d862b8920dd6c721a4707dddfdbe15a (diff) |
change mode of a newly created rcs file in the repository to 0444
ok jorix@ xsa@
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r-- | usr.bin/cvs/commit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/commit.c b/usr.bin/cvs/commit.c index efe1a38ecc2..848afdc4748 100644 --- a/usr.bin/cvs/commit.c +++ b/usr.bin/cvs/commit.c @@ -1,4 +1,4 @@ -/* $OpenBSD: commit.c,v 1.102 2007/01/31 21:07:35 xsa Exp $ */ +/* $OpenBSD: commit.c,v 1.103 2007/02/01 20:33:03 otto Exp $ */ /* * Copyright (c) 2006 Joris Vink <joris@openbsd.org> * Copyright (c) 2006 Xavier Santolaria <xsa@openbsd.org> @@ -270,7 +270,7 @@ cvs_commit_local(struct cvs_file *cf) fatal("cvs_commit_local: %s", strerror(errno)); cf->file_rcs = rcs_open(cf->file_rpath, cf->repo_fd, - rcsflags, 0600); + rcsflags, 0444); if (cf->file_rcs == NULL) fatal("cvs_commit_local: failed to create RCS file " "for %s", cf->file_path); |