Update: the setuid and setgid bits will be cleared only if the caller is

not the super-user.
This commit is contained in:
kleink 1997-12-21 17:58:27 +00:00
parent aa4d1febf1
commit 6e2ca95213
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: chown.2,v 1.15 1997/10/11 03:33:25 enami Exp $ .\" $NetBSD: chown.2,v 1.16 1997/12/21 17:58:27 kleink Exp $
.\" .\"
.\" Copyright (c) 1980, 1991, 1993, 1994 .\" Copyright (c) 1980, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved. .\" The Regents of the University of California. All rights reserved.
@ -68,6 +68,7 @@ but the change
.Fa owner .Fa owner
capability is restricted to the super-user. capability is restricted to the super-user.
.Pp .Pp
Unless called by the super-user,
.Fn chown , .Fn chown ,
.Fn lchown .Fn lchown
and and