|
Creating a CVS Repository |
|
|
|
|
Written by Gordon Tillman
|
|
Sunday, 30 November 2008 17:40 |
Creating a Repository
Take the following steps to setup a location for your cvs repository. For
internal use you do not have to be terribly concerned about security. If you
are going to have multiple people accessing the repository with read/write
access, I recommend that you set the group of the main repository directory to
be that of a group that all users that need access belong to. Then be sure and
set that directory's SGID bit to ensure that any new files or directories
created in the directory are created with the same group ID. In the example
below I'm going to assume you have created a group called cvs.
For a lot more information about the configuration and use of CVS, please see this page.
- Decide where you want to keep the repository. For this example, I choose the location /Users/Shared/cvs-repository
- Create the directory
mkdir /Users/Shared/cvs-repository
- Set the group of the directory
chgrp cvs /Users/Shared/cvs-repository
- Set the SGID bit if the directory
chmod g+s /Users/Shared/cvs-repository
- Initialize the repository
cvs -d /Users/Shared/cvs-repository init
|
|
Last Updated on Thursday, 04 December 2008 19:46 |