From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19261 invoked by alias); 25 Jul 2012 12:35:37 -0000 Received: (qmail 14529 invoked by uid 22791); 25 Jul 2012 12:35:04 -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; Wed, 25 Jul 2012 12:34:48 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id ECFDB2C00B4; Wed, 25 Jul 2012 14:34:45 +0200 (CEST) Date: Wed, 25 Jul 2012 12:35: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: <20120725123445.GH29107@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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <500F4AE6.8090208@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/msg00552.txt.bz2 On Jul 24 18:24, Linda Walsh wrote: > Corinna Vinschen wrote: > >The only problem is that: Even though I see how I could potentially > >enforce the situation, I fail to reproduce it. Can you explicitely show > >an ls of the dir and an strace of an rmdir which succeeded to rename the > >dir? > > > >I'll might send you a test DLL via PM at one point, if that's ok with > >you. > --- > Sigh... > [...] > 150 67361 [main] rmdir 945084 unlink_nt: Trying to delete > \??\C:\Users\law\Pictures\Avatars, isdir = 1 > 3470 70831 [main] rmdir 945084 unlink_nt: Sharing violation when > opening \??\C:\Users\law\Pictures\Avatars > 12291 83122 [main] rmdir 945084 try_to_bin: > \??\C:\Users\law\Pictures\Avatars, return status 2 > 339 83461 [main] rmdir 945084 unlink_nt: \??\C:\Users\law\Pictures\Avatars, > return status = 0x0 > 9604 93065 [main] rmdir 945084 rmdir: 0 = rmdir(Pictures/Avatars) Thanks, that was the interesting part. This is exactly the situation I failed to reproduce, but now I found out why. Apparently newer Samba versions perform a few parameter checks in certain file-related calls, not performed by older Samba, nor by NTFS or FAT drivers. Anyway, I have a fix for that. You didn't explicitely allow to send a test DLL, so I just applied the patch to CVS. Please test the next developer snapshot. Thanks, 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