Re: making a read-only module in a read/write repository
Todd Denniston <[email protected]>
| Newsgroups | gmane.comp.version-control.cvs.general |
|---|---|
| Message-ID | <[email protected]> |
Jim Hyslop wrote, On 04/01/2009 07:33 AM: > Adam Mercer wrote: >> We have a CVS repository containing many modules and I need to make a >> couple of these modules read-only but maintain read/write access for >> the other modules in the repository. I have tried simply changing the >> permissions of the modules on the server to read only but this leads >> to failure in creating read locks. > You're on the right track. Make the modules read only, and add the > "Lockdir=somedir" setting to the config file, where "somedir" is a path > to a writable directory. See Appendix C.11 in the manual for more details. > IIRC, you can also achieve the effect desired with the cvs_acls script from the contrib directory. Perhaps look at using both for a second line of defense. :) -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter