Recipes4Linux 

Open-Source Development Tools

CVS - Concurrent Versions System

Repository Recipes


Recipe 1 : User X imported a project into the repository and is the only user that can checkout the project

This is almost certainly a permissions problem of some sort with the Repository filesystem.

The first thing to try is create a cvs group, assign the respository files to this group and assign any users who need access to the repository to the group.

From [source1]

Once the repository is created,  you must take care of its permissions.  CVS does not require any particular, standardized permission or file ownership scheme; it merely needs write access to the repository.  However -- partly for security reasons, but mainly for your own sanity as an administrator -- we highly recommend that you take the following steps:

Add a Unix group "cvs" to your system.  Any users who need to access the repository should be in this group.  For example, here's the relevant line from a typical machine's /etc/group file:

cvs:*:105:mosheb,kfogel,anonymous,jrandom

Make the repository's group ownership and permissions reflect this new group:

yarkon$ cd /usr/local/newrepos

yarkon$ chgrp -R cvs .

yarkon$ chmod ug+rwx . CVSROOT

In the above snippet, [/usr/local/newrepos] is the directory path to the CVS repository.

Most Linux desktop distributions today have a GUI-tool that allows you to manage user accounts.  An alternative is to know your way around the /etc filesystem.


Contact  mailto:tmike@recipes4linux.com

Copyright © 2004 Tools Made Tough