12.1.3 Troubleshooting CVS
126.96.36.199 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
# cd /var/lib/cvs
# chown -R root:src repository
# chmod -R ug+rwX repository
# chmod 2775 repository # if needed, this and subdirectory
188.8.131.52 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