From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16493 invoked by alias); 27 Jul 2012 07:25:08 -0000 Received: (qmail 16341 invoked by uid 22791); 27 Jul 2012 07:24:42 -0000 X-Spam-Check-By: sourceware.org Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.83/v0.83-20-g38e4449) with ESMTP; Fri, 27 Jul 2012 07:24:26 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id C51312C00A9; Fri, 27 Jul 2012 09:24:23 +0200 (CEST) Date: Fri, 27 Jul 2012 07:25:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Confusing, but not fatal bug....rmdir removed network dir (rename to .____00000hexnum/) Message-ID: <20120727072423.GA25850@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <500B961D.6050303@tlinx.org> <20120723091400.GC12741@calimero.vinschen.de> <500F4AE6.8090208@tlinx.org> <20120725123445.GH29107@calimero.vinschen.de> <50105CBC.2070508@tlinx.org> <20120726094738.GL29107@calimero.vinschen.de> <5011BB14.2060003@tlinx.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <5011BB14.2060003@tlinx.org> User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-07/txt/msg00606.txt.bz2 On Jul 26 14:48, Linda Walsh wrote: > Corinna Vinschen wrote: > > >Just try the latest developer snapshot from http://cygwin.com/snapshots/ > >It contains the patch. > --- > In running the rd * in bot of my Doc and Pictures dir, no dirs > were renamed or deleted ... > > (FWIW, I have a recycle bin setup on my samba server, so the > worse that should have happened would have been I'd find the tree removed > and find the tree in the recycle bin... No, that wouldn't happen. On remote drives, the most Cygwin can do is to rename the dir since shares usually don't have a recycle bin. Granted, it's not ideal. Perhaps Cygwin should try to move the file or directory to the root of the share in case of sharing violations, as the Microsoft NFS driver does it. But the unlink/rmdir code got already about 5 times as complex as I would be comfortable with, so I'm a bit reluctant to add even more code... > but all the dirs gave > not-empty error messages....so nothing was deleted...(renamed)... Thanks for the feedback, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple