rmdir says it isn't a directory about a read only directory.

Corinna Vinschen corinna@vinschen.de
Thu May 25 03:35:00 GMT 2000


Kazuhiro Fujieda wrote:
> 
> rmdir() sets ENOTDIR to the errno about a read only directory
> like the following.
> 
> $ mkdir aaa
> $ chmod -w aaa
> $ rmdir aaa
> rmdir: aaa: Not a directory
> 
> The following patch can fix this problem.
> 
> 2000-05-25  Kazuhiro Fujieda <fujieda@jaist.ac.jp>
> 
>         * dir.cc (rmdir): Correct the manner in checking the target directory.

Patch applied.

Thank you,
Corinna


More information about the Cygwin-patches mailing list