X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Wed, 17 Oct 2007 01:41:13 -0400 (EDT) From: Igor Peshansky Reply-To: cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com Subject: RE: Unable to recirsively delete a directory In-Reply-To: <040501c81026$836bf070$2e08a8c0@CAM.ARTIMI.COM> Message-ID: References: <69D276452CD2904980D5B6AC33C9BE1709492F65 AT gtlbmlexs0006 DOT bagmail DOT net> <4714AEFF DOT 4040509 AT cygwin DOT com> <4714F250 DOT 1040000 AT columbus DOT rr DOT com> <040501c81026$836bf070$2e08a8c0 AT CAM DOT ARTIMI DOT COM> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- 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/