[RFA]: patch to rmdir

Chris Faylor cgf@cygnus.com
Mon May 22 07:57:00 GMT 2000

On Mon, May 22, 2000 at 12:24:26PM +0200, Corinna Vinschen wrote:
>Chris Faylor wrote:
>>Does this fix the erroneous error when you do a:
>>rmdir somefilethatisnotadirectory
>Is it worth to check that, too?  To figure out _why_ permission is
>denied is somewhat complicated and I'm sure that slows things down
>much.  The primary information (rmdir failed) is given back to the
>application, though.
>Nevertheless I'm hoping that samba 2.0.7 will have fixed that problems.

It's not that hard.  If you get an "EACCESS" and the file is not a
directory then the errno should be set to ENOTDIR.

It is important that Cygwin act like UNIX as much as possible and
I think that EACCESS is always wrong.


More information about the Cygwin-patches mailing list