PDA

View Full Version : Permissions problem with cvsnt/wincvs


Tony Towers
07-07-2003, 07:56 AM
We are currently trying to get cvsnt running on our new big server.
It seems to be working fine for some people, but not for others.
I'm a bit stumped, and I'm hoping someone here could point me in
the right direction.

The server is running MS Windows 2000 Server (SP3), the clients
Win2K Prof (SP4). CVSNT 2.0.5 is installed on the server, and
we've got WinCvs 1.3.10.1 Beta 10 installed on the client machines.

I create a very simple repository, containing a single module with
a single file. I can then check it out and update it at will, but
when my colleague attempts to check it out, the following happens:-


cvs -t co module

***** CVS exited normally with code 1 *****

-> main loop with CVSROOT=:sspi:jcr@bigserver:/TestProject
S -> do_module(module, Updating, , )
S -> do_module(module, Updating, , )
S -> Checking admin file J:/cvsrepo/TestProject/CVSROOT/admin for user
jcr
S -> Create_Admin (., module, J:/cvsrepo/TestProject/module, , , 0, 0)
S -> unlink(./CVS/Tag)
S -> ParseInfo(J:/cvsrepo/TestProject/CVSROOT/rcsinfo, module, ALL)
S -> Create_Admin
S -> fopen(J:/cvsrepo/TestProject/CVSROOT/history,a)
-> Create_Admin (module, module, /TestProject/module, , , 0, 0)
-> unlink(module/CVS/Tag)
<- Create_Admin
-> unlink(CVS/Tag)
-> unlink(CVS/Entries.Static)
S -> ParseInfo(J:/cvsrepo/TestProject/CVSROOT/historyinfo, module,
ALL)
S -> unlink(./CVS/Entries.Static)
cvs server: Updating module
S -> checkout (/TestProject/module/file.txt,v, 1.1, , (function))
S -> server_register(file.txt, 1.1, , , , , , , )
S -> Register(file.txt, 1.1, , , , , )
U module/file.txt
S -> rename(CVS/Entries.Backup,CVS/Entries)
cvs [server aborted]: cannot rename file CVS/Entries.Backup to
CVS/Entries: Permission denied

-> rename(.new.file.txt,file.txt)
-> Register(file.txt, 1.1, Mon Jul 7 15:10:46 2003, , )
-> rename(CVS/Entries.Backup,CVS/Entries)
-> unlink(CVS/Entries.Log)


The file is checked out successfully, but if we try it with more
than a single module in the repository, it fails half way through
with the above error. I've grovelled through google, but can't
find anyone who has exprerienced this problem before. Any ideas?

Thanks in advance

Tony Towers.

m-ape
07-10-2003, 08:14 AM
You are not alone. I get the same error as you on checkout. I am
running CVSNT 2.0.5 on an NT 4.0 Server server.

I get the following when I check out projects to a local directory
such as "c:\jnk5\":

cvs [server aborted]: cannot rename file CVS/Entries.Extra.Backup to
CVS/Entries.Extra: Permission denied

I get this with both clients I use: WinCVS 1.3.13.1 Beta 13 (Build 1)
and TortoiseCVS 1.4.0 RC5 (both the latest stable releases AFAIK). And
I get it with multiple projects.

In CVSNT, the "cvs temp" directory and the $CVSROOT directory are both
on a drive local to the server and set to Full Control for Everyone.

Any ideas? Anyone?

-eiren.


My client is TortoiseCVS 1.4.0 RC 5 (the latest stable release).

sat320@yahoo.co.uk (Tony Towers) wrote in message news:<37552375.0307070756.1a3729c1@posting.google.com>... We are currently trying to get cvsnt running on our new big server. It seems to be working fine for some people, but not for others. I'm a bit stumped, and I'm hoping someone here could point me in the right direction. The server is running MS Windows 2000 Server (SP3), the clients Win2K Prof (SP4). CVSNT 2.0.5 is installed on the server, and we've got WinCvs 1.3.10.1 Beta 10 installed on the client machines. I create a very simple repository, containing a single module with a single file. I can then check it out and update it at will, but when my colleague attempts to check it out, the following happens:- cvs -t co module ***** CVS exited normally with code 1 ***** -> main loop with CVSROOT=:sspi:jcr@bigserver:/TestProject S -> do_module(module, Updating, , ) S -> do_module(module, Updating, , ) S -> Checking admin file J:/cvsrepo/TestProject/CVSROOT/admin for user jcr S -> Create_Admin (., module, J:/cvsrepo/TestProject/module, , , 0, 0) S -> unlink(./CVS/Tag) S -> ParseInfo(J:/cvsrepo/TestProject/CVSROOT/rcsinfo, module, ALL) S -> Create_Admin S -> fopen(J:/cvsrepo/TestProject/CVSROOT/history,a) -> Create_Admin (module, module, /TestProject/module, , , 0, 0) -> unlink(module/CVS/Tag) <- Create_Admin -> unlink(CVS/Tag) -> unlink(CVS/Entries.Static) S -> ParseInfo(J:/cvsrepo/TestProject/CVSROOT/historyinfo, module, ALL) S -> unlink(./CVS/Entries.Static) cvs server: Updating module S -> checkout (/TestProject/module/file.txt,v, 1.1, , (function)) S -> server_register(file.txt, 1.1, , , , , , , ) S -> Register(file.txt, 1.1, , , , , ) U module/file.txt S -> rename(CVS/Entries.Backup,CVS/Entries) cvs [server aborted]: cannot rename file CVS/Entries.Backup to CVS/Entries: Permission denied -> rename(.new.file.txt,file.txt) -> Register(file.txt, 1.1, Mon Jul 7 15:10:46 2003, , ) -> rename(CVS/Entries.Backup,CVS/Entries) -> unlink(CVS/Entries.Log) The file is checked out successfully, but if we try it with more than a single module in the repository, it fails half way through with the above error. I've grovelled through google, but can't find anyone who has exprerienced this problem before. Any ideas? Thanks in advance Tony Towers.

Tony Towers
07-15-2003, 09:22 AM
b7h2mpo02@sneakemail.com (m-ape) wrote in message news:<a260c.0307100814.72f4d80b@posting.google.com>... You are not alone. I get the same error as you on checkout. I am running CVSNT 2.0.5 on an NT 4.0 Server server. I get the following when I check out projects to a local directory such as "c:\jnk5\": cvs [server aborted]: cannot rename file CVS/Entries.Extra.Backup to CVS/Entries.Extra: Permission denied I get this with both clients I use: WinCVS 1.3.13.1 Beta 13 (Build 1) and TortoiseCVS 1.4.0 RC5 (both the latest stable releases AFAIK). And I get it with multiple projects. In CVSNT, the "cvs temp" directory and the $CVSROOT directory are both on a drive local to the server and set to Full Control for Everyone.

Thank-you! Setting the temp directory on the server to "Full Control"
has solved the problem here.

What do you get when you do a checkout -t?

Regards,
Tony Towers.

Tony Towers
07-21-2003, 06:42 AM
b7h2mpo02@sneakemail.com (m-ape) wrote in message news:<a260c.0307160838.62a85a0e@posting.google.com>... sat320@yahoo.co.uk (Tony Towers) wrote in message news:<37552375.0307150922.17d85bfc@posting.google.com>... What do you get when you do a checkout -t? When I do a "cvs -t checkout..." to my local directory I get: <snip> -> rename(_new_yymmdd.fdf,yymmdd.fdf) -> Register(yymmdd.fdf, 1.1.1.1, Sun Mar 16 04:15:22 2003, -ko, , , ) S -> rename(CVS/Entries.Backup,CVS/Entries) cvs [server aborted]: cannot rename file CVS/Entries.Backup to CVS/Entries: Permission denied -> rename(CVS/Entries.Backup,CVS/Entries) -> rename(CVS/Entries.Extra.Backup,CVS/Entries.Extra) -> unlink(CVS/Entries.Log) -> unlink(CVS/Entries.Extra.Log) C:\jnk6> Any ideas? What is that 'S' preceding the failing line? (I've never used the "-t" argument before now.)

AIUI the 'S' prefix means that part of the command is running on the server,
so it is trying to rename a file under the cvs temp directory. I'm at a
loss to explain why it's not working on your server, if you have Full
Control enabled.

Gavin Kinsey
07-21-2003, 01:18 PM
m-ape wrote... When I do a "cvs -t checkout..." to my local directory I get: <snip> -> rename(_new_yymmdd.fdf,yymmdd.fdf) -> Register(yymmdd.fdf, 1.1.1.1, Sun Mar 16 04:15:22 2003, -ko, , , ) S -> rename(CVS/Entries.Backup,CVS/Entries) cvs [server aborted]: cannot rename file CVS/Entries.Backup to CVS/Entries: Permission denied -> rename(CVS/Entries.Backup,CVS/Entries) -> rename(CVS/Entries.Extra.Backup,CVS/Entries.Extra) -> unlink(CVS/Entries.Log) -> unlink(CVS/Entries.Extra.Log) C:\jnk6> Any ideas?

Do you have any anti-virus software running on the server? There is a
known problem with a certain virus checker (can't remember which) &
CVSNT. The VC locks the files and prevents cvs from renaming them.

I would try shutting down as much other software as possible on the
server and see if that makes a difference.

--
"Quickly, to the Angelmobile. Away!"

Gavin Kinsey

m-ape
07-23-2003, 07:40 AM
Thanks, Tony. Yes, it is odd. If/when I get it fixed, I will update this thread.
-eiren.

sat320@yahoo.co.uk (Tony Towers) wrote in message news:<37552375.0307210642.1a83ab50@posting.google.com>... b7h2mpo02@sneakemail.com (m-ape) wrote in message news:<a260c.0307160838.62a85a0e@posting.google.com>... sat320@yahoo.co.uk (Tony Towers) wrote in message news:<37552375.0307150922.17d85bfc@posting.google.com>... What do you get when you do a checkout -t? When I do a "cvs -t checkout..." to my local directory I get: <snip> -> rename(_new_yymmdd.fdf,yymmdd.fdf) -> Register(yymmdd.fdf, 1.1.1.1, Sun Mar 16 04:15:22 2003, -ko, , , ) S -> rename(CVS/Entries.Backup,CVS/Entries) cvs [server aborted]: cannot rename file CVS/Entries.Backup to CVS/Entries: Permission denied -> rename(CVS/Entries.Backup,CVS/Entries) -> rename(CVS/Entries.Extra.Backup,CVS/Entries.Extra) -> unlink(CVS/Entries.Log) -> unlink(CVS/Entries.Extra.Log) C:\jnk6> Any ideas? What is that 'S' preceding the failing line? (I've never used the "-t" argument before now.) AIUI the 'S' prefix means that part of the command is running on the server, so it is trying to rename a file under the cvs temp directory. I'm at a loss to explain why it's not working on your server, if you have Full Control enabled.

m-ape
07-23-2003, 07:48 AM
Yes. I have McAfee running on the server. But I stopped its service
and I still get the errors with CVS.

Plus, FWIW, my newsgroup research shows that CVSNT dislikes Norton
Antivirus the most. But McAfee could still be doing something I don't
know about.

Since it's not my server, it will be difficult for me to "strip it
down" to find the source of this CVS problem.

I will update this thread if/when I get it fixed. Thanks for your
help, Gavin.

Anyone else out there with this problem?

-eiren.


Gavin Kinsey <spam@trollgod.org.uk> wrote in message news:<7914af6fdf9c5a576fef0d16e03d714c@trollgod.dyndns.org>...

<snip>
Do you have any anti-virus software running on the server? There is a known problem with a certain virus checker (can't remember which) & CVSNT. The VC locks the files and prevents cvs from renaming them. I would try shutting down as much other software as possible on the server and see if that makes a difference.

m-ape
08-06-2003, 06:25 AM
It appears to be solved! I discovered that "Double-Take" drive
mirroring software was running on both server drives on which I had
tried putting my CVSNT temp directory. Today I moved my CVSNT temp
directory to a drive on that server that is NOT under the control of
Double-Take and it seems to have solved the problem completely.

I made the change about ten minutes ago and I've done many checkouts
and CVS Diffs from two client machines (Win2K and Win98) since with
ZERO errors. I used to get errors four out of five times.

Thanks to all who helped with this.

-eiren.



b7h2mpo02@sneakemail.com (m-ape) wrote in message news:<a260c.0307230748.46b04055@posting.google.com>... Yes. I have McAfee running on the server. But I stopped its service and I still get the errors with CVS. Plus, FWIW, my newsgroup research shows that CVSNT dislikes Norton Antivirus the most. But McAfee could still be doing something I don't know about. Since it's not my server, it will be difficult for me to "strip it down" to find the source of this CVS problem. I will update this thread if/when I get it fixed. Thanks for your help, Gavin. Anyone else out there with this problem? -eiren. Gavin Kinsey <spam@trollgod.org.uk> wrote in message news:<7914af6fdf9c5a576fef0d16e03d714c@trollgod.dyndns.org>... <snip> Do you have any anti-virus software running on the server? There is a known problem with a certain virus checker (can't remember which) & CVSNT. The VC locks the files and prevents cvs from renaming them. I would try shutting down as much other software as possible on the server and see if that makes a difference.


MyLounge.com Site Map
Forum: Cars, Cell Phone, Database, Games, Home Improvement, IT, Music, School, Sports, Web Design, Web Server, Weight Loss

The MyLounge.com forum is intended for informational use only and should not be relied upon and is not a substitute for any advice. The information contained on MyLounge.com are opinions and suggestions of members and is not a representation of the opinions of MyLounge.com. MyLounge.com does not warrant or vouch for the accuracy, completeness or usefulness of any postings or the qualifications of any person responding. Please consult a expert or seek the services of an attorney in your area for more accuracy on your specific situation. Please note that our forums also serve as mirrors to Usenet newsgroups. Many posts you see on our forums are made by newsgroup users who may not be members of MyLounge.com Term of Service