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.