Monday, March 17, 2008

Creating a CVS Repository in Unix


Creating a CVS Repository in Unix

The following set of commands will create a CVS repository in the directory /var/lib/cvsroot:
# mkdir /var/lib/cvsroot  
# chgrp cvsdev /var/lib/cvsroot
# chmod g+srwx /var/lib/cvsroot
# cvs -d /var/lib/cvsroot init
# chown -R cvs /var/lib/cvsroot
# ls -l /var/lib
total 2
drwxrwsr-x 3 cvs cvsdev 512 Jan 23 19:22 cvsroot
# ls -la /var/lib/cvsroot
total 6
drwxrwsr-x 3 root cvsdev 512 Jan 23 19:22 .
drwxr-xr-x 3 root other 512 Jan 23 19:18 ..
drwxrwsr-x 3 cvs cvsdev 1024 Jan 23 19:22 CVSROOT

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home