Andy,
I didn't see anyone else reply. We do it with unix groups and
the 'gsid' bit.
Assuming cvsadmin is the group you want have RW access:
Chown root:cvsadmin /<RepositoryPath>/CVSROOT
Chgrp -R cvsadmin /<RepositoryPath>/CVSROOT
Chmod 775 /<RepositoryPath>/CVSROOT (also apply to subdirectories, if
any)
Chmod g+s /<RepositoryPath>/CVSROOT (also apply to subdirectories,
if any)
The directory should look like this example:
drwxrwsr-x 3 root cvsadmin 4096 Mar 20 03:20
/cvs_repos/ffw_cvs/CVSROOT
The permission prevents anyone (other than root) that is not a member
"cvsadmin" from creating or modifying files. The gsid setting forces
any new files or directories created to be group "cvsadmin" regardless
of the users default group. Additionally, any new directories created
will also have the gsid setting.
This is assuming, of course, that you're running this on a unix server.
Regards,
Mark
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andy
Sent: Tuesday, April 08, 2008 8:44 AM
To: [email protected]
Subject: Protect CVSROOT folder in repository against checkouts
Is there any way to prevent non-administrative CVS users from checking
out a repository's CVSROOT folder (and its tree)? I want to remove
any opportunity from regular users accidently corrupting this folder.
thanks, Andy