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.