[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
unlink EPERM vs EISDIR
From: |
Roland McGrath |
Subject: |
unlink EPERM vs EISDIR |
Date: |
Sun, 26 May 2002 15:27:05 -0400 (EDT) |
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.
- unlink EPERM vs EISDIR,
Roland McGrath <=