This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Confusing, but not fatal bug....rmdir removed network dir (rename to .____00000hexnum/)

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.


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]