|
From: | Gonzalo Núñez Riboni |
Subject: | About cvs [update aborted]: cannot rename file file_name to CVS/, , file_name: Permission denied |
Date: | Fri, 30 Mar 2007 17:28:22 -0600 |
User-agent: | Thunderbird 1.5.0.10 (X11/20070306) |
HiI found in ximbiot's online manual for CVS (http://ximbiot.com/cvs/wiki/index.php?title=CVS--Concurrent_Versions_System_v1.12.12.1:_Dealing_with_bugs_in_CVS_or_this_manual#SEC214) this mail address in case I found a solution to the error mentioned in the subject...
I was getting that error upon commiting files, and finally found a solution for it. I don't know if it applies to all instances of that error, but at least for me, it worked. Here's what I did:
I was using the loginfo file to fire an update on a different folder everytime a file was updated via CVS. My lines in loginfo were like this:
^mysamplemodule\(/\|$\) (date; cat; (sleep 2; cd /www/mysamplemodule; cvs -q update -d) &) >> $CVSROOT/CVSROOT/updatelog 2>&1
All I did what changing them to read like this:^mysamplemodule\(/\|$\) (date; cat; (sleep 2; cd /www/mysamplemodule; cvs -q update -d /var/cvs/cvsroot) &) >> $CVSROOT/CVSROOT/updatelog 2>&1
That is, I added the full path to my cvs repository. It might be that it should always had to be that way, but since that is how the sample text is in the manual, I never thought it should be different...
Well, hope that helps! Best Regards Gonzalo Núñez Riboni
[Prev in Thread] | Current Thread | [Next in Thread] |