This is the mail archive of the
cygwin-patches@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: rmdir says it isn't a directory about a read only directory.
- To: Kazuhiro Fujieda <fujieda at jaist dot ac dot jp>
- Subject: Re: rmdir says it isn't a directory about a read only directory.
- From: Corinna Vinschen <corinna at vinschen dot de>
- Date: Thu, 25 May 2000 12:28:15 +0200
- CC: cygwin-patches at sourceware dot cygnus dot com
- References: <s1sog5vw1l3.fsf@jaist.ac.jp>
- Reply-To: cygpatch <cygwin-patches at sourceware dot cygnus dot com>
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