Setting CVS Read-Only

Do one on this...

2005/9/13, Samuel DeVore :

>> We are in the process of moving a large number of internal projects from CVS
>> to SVN and was wondering if anyone knew if it were possible to lock the old
>> CVS to be read only. To make sure that the changes are done in the right
>> place by all the developers.

Just create an empty file "writers" in the CVSROOT directory of the
CVS repository:

Checkout the CVSROOT with "cvs -d :pserver:@:/ co CVSROOT" .
Change to cvsroot directory "cd CVSROOT".
Create the empty file with ":>writers" (or echo.>writers" on Windows).
Commit the changes with "cvs commit".

The "writers" file contains the list of users with write access. So
the empty list disallows write access for any user.

Regards,

Martin

Wed, 2005-09-14 08:52
( categories: )