Re: unlink EPERM vs EISDIR

[email protected] (Thomas Bushnell, BSG)
Newsgroups gmane.os.hurd.devel.readers
Message-ID <[email protected]>
Roland McGrath <[email protected]> writes:

> I've just become aware that unlink on a directory is required by POSIX to
> fail with EPERM, while our code (diskfs) and (so I am told) Linux returns
> EISDIR.  I looked at FreeBSD 4.3 and NetBSD 1.5, and those use EPERM.  
> If there are no objections, I will change diskfs to return EPERM.

Lame, but sigh.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.