[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Sporadic but common problems with rename on Win32

From: D.J. Heap <djheap_at_dhiprovo.com>
Date: 2003-02-14 20:49:38 CET

I investigated this a while ago when I had some time and narrowed it
down to code in the APR (apr_file_rename or something, can't remember
exactly) calling MoveFileEx -- the move would fail sporadically (on my
WinXP dual-processor machine only) with Access Denied. It possibly
could be a bug in that Win32 function (the Access Denied return code is
odd...usually you get file already in use or something unless it really
is a security problem...which this isn't), but various attempts at
reproducing it in a simple test program failed, so I changed it to
follow the Win9x method of Delete/MoveFile. I have made a note to
myself to continue this investigation, but won't have time until the end
of next week probably.

It does seem unlikely to me that it's a bug in MoveFileEx, but I'm not
convinced it isn't yet either. It also could be a result of something
earlier going wacky (maybe the file did not get the read-only attribute
turned off successfully or something?).


-----Original Message-----
From: Philip Martin [mailto:pm@localhost] On Behalf Of Philip Martin
Sent: Friday, February 14, 2003 6:21 AM
To: Patrick Mayweg
Cc: Dev@subversion.tigris.org
Subject: Re: Sporadic but ncommon problems with rename on Win32

Patrick Mayweg <mayweg@qint.de> writes:

> I have sporadic but common problems with svn_io_file_rename on Win32.
> had them on checkout or update operations. The operation is than
> and in many cases the working copy is unusable. I just ran 2 exports
> with the same parameters and it happened twice with different files.
> error message is allways:
> svn: Access is denied.
> svn: svn_io_file_rename: can't move 'xxx' to 'yyy'

This email and any files transmitted with it are confidential
and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email
in error please notify the system manager.

This footnote also confirms that this email message has been
swept by MIMEsweeper for the presence of computer viruses.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Feb 14 20:50:42 2003

This is an archived mail posted to the Subversion Dev mailing list.