12.1.3 Troubleshooting CVS
12.1.3.1 File permissions in repository
CVS will not overwrite the current repository file but replaces it with another
one. Thus, write permission to the repository directory is critical.
For every new repository creation, run the following to ensure this condition
if needed.
# cd /var/lib/cvs
# chown -R root:src repository
# chmod -R ug+rwX repository
# chmod 2775 repository # if needed, this and subdirectory
12.1.3.2 Execution bit
A file's execution bit is retained when checked out. Whenever you see
execution permission problems in checked-out files, change permissions of the
file in the CVS repository with the following command.
# chmod ugo-x filename