Re: possible buglet in 2.0.17 ext_2unlink()
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 (Errors):

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

So, nothing wrong with the kernel here.