diff --git a/lib/libc/sys/chown.2 b/lib/libc/sys/chown.2 index 94d8972727fe..8395baf24e7a 100644 --- a/lib/libc/sys/chown.2 +++ b/lib/libc/sys/chown.2 @@ -1,4 +1,4 @@ -.\" $NetBSD: chown.2,v 1.10 1995/10/12 15:40:47 jtc Exp $ +.\" $NetBSD: chown.2,v 1.11 1997/04/30 19:35:33 kleink Exp $ .\" .\" Copyright (c) 1980, 1991, 1993, 1994 .\" The Regents of the University of California. All rights reserved. @@ -66,7 +66,9 @@ but the change capability is restricted to the super-user. .Pp .Fn Chown -clears the set-user-id and set-group-id bits +and +.Fn fchown +clear the set-user-id and set-group-id bits on the file to prevent accidental or mischievous creation of set-user-id and set-group-id programs. @@ -136,7 +138,7 @@ An I/O error occurred while reading from or writing to the file system. .Sh STANDARDS The .Fn chown -function is expected to conform to +function conforms to .St -p1003.1-88 . .Sh HISTORY The