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

Corinna Vinschen
Fri Jul 27 07:25:00 GMT 2012

On Jul 26 14:48, Linda Walsh wrote:
> Corinna Vinschen wrote:
> >Just try the latest developer snapshot from
> >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 nothing was deleted...(renamed)...

Thanks for the feedback,

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

Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list