Quick guide to create new CVS repository in the existing server setup.
--create new directory in CVS server, the path should be your new repository dir location
mkdir /var/cvsroot
--we need to grant access to all user who have access to the server, R implies recursive into all subdir
chown -R cvsuser:cvsgroup /var/cvsroot
--the cvsgroup could differ in the server setup
--without this, user couldn't check in code cos of short of privilege, change to dir mode to read&write
chmod g+rwxs /var/cvsroot
--initialise the cvs repository, which will populate all cvs related config into the directory
cvs -d /var/cvsroot init
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment