Subject: Re: lib/3476: [dM] chmod(2) missing EFTYPE
To: None <netbsd-bugs@NetBSD.ORG>
From: Christoph Badura <bad@ora.de>
List: netbsd-bugs
Date: 04/11/1997 17:17:06
mouse@Rodents.Montreal.QC.CA (der Mouse) writes:
>>Number:         3476
>>Category:       lib
>>Fix:
>	Here's a patch to the manpage.  I'm not convinced this is
>	entirely right, though, because the error comes from
>	ufs/ufs/ufs_vnops.c and therefore is filesystem-dependent,
>	whereas this description makes it sound filesystem-independent.

But, the description states that only the super user can set the
sticky bit on shareable executable files.  It seems to me that EPERM
would be the appropriate error to return since it is a permission problem
and not a file type or format problem.

Also, according to intro(2) EFTYPE (79) and errnos 80 and 81 do not exist.

-- 
Christoph Badura

Now available in print: Lion's Commentary on UNIX 6th Edition, with Source Code
			http://www.peer-to-peer.com/