Discussion:
Only check out but not commit
Mike Huang
2009-05-18 21:08:20 UTC
Permalink
Hi,
 
How can I configure cvs such that some users can only checkout but can not commit? Thanks.
 
Mike
Yaron Yogev
2009-05-19 09:15:29 UTC
Permalink
Post by Mike Huang
Hi,
 
How can I configure cvs such that some users can only checkout but can not commit? Thanks.
 
Mike
Hello Mike,

You should create a file called "readers" in the CVSROOT directory in
your repository.
In this file, you should put login names of users that have read-only
access to the repository, one login name per line.

See explanation here:
http://ximbiot.com/cvs/manual/cvs-1.12.13/cvs_2.html#SEC38

This feature also exists on the 1.11 branch of CVS. In the same site
you can see it also in the manual of 1.11.22.

HTH
--
Yaron Yogev
IT Software Developer
Jungo Software Technologies
Larry Jones
2009-05-19 14:57:11 UTC
Permalink
Post by Mike Huang
 
How can I configure cvs such that some users can only checkout but can
not commit? Thanks.
Read the manual:

<http://ximbiot.com/cvs/manual/cvs-1.11.23/cvs_2.html#SEC13>
<http://ximbiot.com/cvs/manual/cvs-1.11.23/cvs_2.html#SEC36>
--
Larry Jones

My "C-" firmly establishes me on the cutting edge of the avant-garde.
-- Calvin
Todd Denniston
2009-05-19 22:13:51 UTC
Permalink
Post by Larry Jones
Post by Mike Huang
How can I configure cvs such that some users can only checkout but can
not commit? Thanks.
<http://ximbiot.com/cvs/manual/cvs-1.11.23/cvs_2.html#SEC13>
<http://ximbiot.com/cvs/manual/cvs-1.11.23/cvs_2.html#SEC36>
Larry's answer was a bit terse about LockDir
<http://ximbiot.com/cvs/manual/cvs-1.11.23/cvs_2.html#SEC13>
http://ximbiot.com/cvs/manual/cvs-1.11.23/cvs_18.html#IDX284

also checkout cvs_acls script from the contrib directory.
--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter
Loading...