unlink EPERM vs EISDIR

Roland McGrath <[email protected]>
Newsgroups gmane.os.hurd.devel.readers
Message-ID <[email protected]>
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.
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.