CVS, cvsnt, and Norton Antivirus

Here's a friendly way to start your day:
$ cvs update
....
cvs [update aborted]: cannot rename file CVS/Entries.Backup to CVS/Entries: Permission denied
This error occurs at random part way through the update, on a different directory each time. There are no files named Entries.Backup in the directory I'm trying to update.
Or how about this one?
cvs update: cannot remove xml directory: Directory not empty
Guess what fixed the problem? Disabling Norton AntiVirus 2009 on my CVS server. No, not the client (my development PC), where I'm running the 'cvs update' command and don't even have anti-virus installed. The Windows XP box that's running CVS NT server.

I was clued in when I was able to replicate the problem using cygwin cvs or cvsnt cvs, and inside WinCVS too. So it's not the fact that I just re-installed Windows on the client. It seems that this clean, speedy box is now too fast for the server to keep up with, but only if Norton is doing SOMETHING STUPID on my server to cause problems.

What a waste of hours... I hate Norton.

Comments

Leonardo said…
It's not a Norton problem, but a CVS Server + any AV software that makes on-access verification. CVS creates a lot of temporary files that last a few miliseconds. When a stupid AV try to scan one of these files and the server tries to remove the temp, a Permission Denied arrises
Owais Khan said…
I got similar problem but on my client side that is Windows 7 and I am running cvs through MingW. I solved by disabling Microsoft Security Essentials.

Popular posts from this blog

Inno Setup custom data directory location

Inno Setup MSVC vcredist without bothering your users