Re: possible buglet in 2.0.17 ext_2unlink()

Andries.Brouwer@cwi.nl
Sun, 8 Sep 1996 11:39:14 +0200


Arnt Gulbrandsen:

: ext2_unlink() seems to return EPERM if one attempts to unlink() a
: directory.

: This seems a bit wrong, would not EISDIR be a better value?

POSIX 1003.1 section 5.5.1.4 (Errors):

EPERM The file named by path is a directory ...

So, nothing wrong with the kernel here.