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

Re: permission denied on windows

From: Jonathan <jonathan.michael.stewart_at_us.army.mil>
Date: 2004-04-17 16:50:58 CEST

D.J. Heap wrote:
> Greg Martyn wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On Monday 12 April 2004 06:41 pm, Branko Čibej wrote:
>>
>>> The "access deined" error is probably caused by a _file_ being locked,
>>> not the directory. It could be an open document, or it could be a DLL
>>> that's still loaded in memory, or a running program.
>>
>>
>>
>> After getting the access denied error on a file called KILLME, I tried
>> to delete my whole wc. I could delete all the files except
>> C:\CareCircle\www\qa\home1\images\builder\.svn\text-base.
>> I can navigate to the .svn folder. I was able to delete all the
>> files/folders except text-base. When I click on text-base, IIRC it
>> gives an access denied error. Once I try to delete the text-base
>> folder, it says "Cannot delete file: Cannot read from the source file
>> or disk."
>>
>> Neither svn nor tortoiseproc are running. Antivirus software is
>> disabled. Once I restart, the text-base folder no longer exists, and I
>> can delete the wc.
>>
>> I wish I could help more, but it is hard to reproduce this bug unless
>> I am deleting a large number of files.
>>
>> - --Greg
>
>
> That is strange...I've seen a few reports of that kind of thing in the
> Microsoft filesystem newsgroups -- phantom files or folders that are not
> accessible or deletable until a system restart. You might check over
> there for hints on what could be causing it -- I don't know how
> Subversion could cause it aside from a filesystem bug.

I have had this same problem before (with other programs), although I
have not seen it that I can recall since Win98

>
> Maybe Explorer has glommed onto it or something? Have you tried logging
> out and back in (to kill off Explorer and userland apps without
> rebooting) to see if that works? Also, do you have Index Server going?

I don't have any theories other than some windows cache is corrupted
somehow possibly, I don't remember if logging off fixed it or not I only
remember I was able to delete the file after a full restart. The icon
cache on windows has issues often. I would not be surprised if the
file/directory permissions cache (if such a thing exists) has a subtle
race condition or something similar which may be why it only shows up
when large numbers of files are deleted.

>
> DJ
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Apr 18 18:25:44 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.