Unable to recirsively delete a directory

Andrew DeFaria Andrew@DeFaria.com
Wed Oct 17 06:03:00 GMT 2007


Igor Peshansky wrote:
> On Tue, 16 Oct 2007, Dave Korn wrote:
>
>   
>> On 16 October 2007 18:18, Paul McFerrin wrote:
>>
>>     
>>> I've been seeing this same problem
>>>       
>>   Specifically on a NAS over SMB?  Or are you talking about something
>> you've seen happen on your local hard drive, which would very likely be
>> a completely different problem?
>>
>>     
>>> since B20!
>>>       
>>   Say, you /could/ have mentioned it a little sooner ...  you've had
>> nearly ten years now to write a bug report, y'know!
>>
>>   The only time I've ever seen anything like this is when I've messed
>> up, and the directory hasn't actually been empty, and I only thought it
>> was because I forgot the -a flag to ls, or I've mistyped something or
>> forgotten some perms.  Pilot error every time.  That's not to say it's
>> impossible, and my first line of attack would be "Is this one of those
>> versioning NASs and is it perhaps treating the directory as
>> not-really-empty-because-you-might-want-to-roll-it-back-I-wonder?".
>>     
>
> FWIW, you can also get this message if some program has an open handle to
> either the directory itself or some file in that directory.  Usually
> either a service or another shell...  Check the cwd of all shells, etc.
> 	Igor
>   
Try Process Explorer....
-- 
Andrew DeFaria <http://defaria.com>
A friend of mine is into Voodoo Acupuncture. You don't have to go. 
You'll just be walking down the street, and...........ooooohhhhhh, 
that's much better...


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list