X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Fri, 27 Jul 2012 09:24:23 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT 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 AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <500B961D DOT 6050303 AT tlinx DOT org> <20120723091400 DOT GC12741 AT calimero DOT vinschen DOT de> <500F4AE6 DOT 8090208 AT tlinx DOT org> <20120725123445 DOT GH29107 AT calimero DOT vinschen DOT de> <50105CBC DOT 2070508 AT tlinx DOT org> <20120726094738 DOT GL29107 AT calimero DOT vinschen DOT de> <5011BB14 DOT 2060003 AT tlinx DOT 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 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 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