I was migrating a CVS repository from one server to another today and ran on the interesting issue. I was getting a “Permission denied” error on the CVSROOT/config file no matter what privileges were set. It turns out that problem is with SELinux on CentOS, so the easiest solution is to just turn it off.
Category: CVS
Changing CVS Root from shell
Here’s a simple script that recursively changes CVS/Root files in the project tree find . -name Root -exec sh -c ‘echo :pserver:example@cvs.example.com:2401/var/cvsroot > {}’ \; Note sh -c segment of -exec switch, which is necessary in order to successfully redirect to appropriate files. This could be useful for updating deployed projects with the repository that… Continue reading Changing CVS Root from shell