The Science of Debugging
Chapter 3


3.2.2 CVS Root Directory


Figure out where you're going to put the CVS root directory. This is the directory that all your files will eventually be saved to. Some people like hiding it in a directory name starting with a '.' (*nix) or setting the directory as 'hidden' (MS) so it doesn't normally show up. This is not a bad idea - you should NEVER touch items in this directory directly.

For our example, I'll just call my directory cvsroot, and I'll put it in my home directory (the directory you're placed in when you login on a unix system). The absolute path for my root dir is '/home/cvstutorial/cvsroot'.

No matter where you place the directory, make sure the permissions allow you to create/remove/edit/list files within it (chmod < dirname > 755 is a safe bet on a *nix machine). If you're expecting other users to access this repository, you need to validate them as well; usually done via group settings on the file permission. Keep in mind that everyone who uses it needs read, write and execute permissions.



Index
3.2.1 Getting CVS 3.2.3 Initalizing CVS