From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Confusing, but not fatal bug....rmdir removed network dir (rename to .____00000hexnum/)
Date: Wed, 25 Jul 2012 12:35:00 -0000 [thread overview]
Message-ID: <20120725123445.GH29107@calimero.vinschen.de> (raw)
In-Reply-To: <500F4AE6.8090208@tlinx.org>
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
next prev parent reply other threads:[~2012-07-25 12:35 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-22 5:57 Linda Walsh
2012-07-22 14:20 ` Andrey Repin
2012-07-22 14:58 ` Aaron Schneider
2012-07-22 16:24 ` Linda Walsh
2012-07-22 16:33 ` Earnie Boyd
2012-07-23 9:15 ` Corinna Vinschen
2012-07-25 1:25 ` Linda Walsh
2012-07-25 12:35 ` Corinna Vinschen [this message]
2012-07-25 20:53 ` Linda Walsh
2012-07-26 9:48 ` Corinna Vinschen
2012-07-26 21:48 ` Linda Walsh
2012-07-27 7:25 ` Corinna Vinschen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120725123445.GH29107@calimero.vinschen.de \
--to=corinna-cygwin@cygwin.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).