Update to the new `chown(2) vs. (S_ISUID|S_ISGID)' world order.
This commit is contained in:
parent
9d5e7c9a4c
commit
244f0cc5f2
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: chmod.2,v 1.7 1995/02/27 12:32:06 cgd Exp $
|
||||
.\" $NetBSD: chmod.2,v 1.8 1997/05/13 17:45:16 kleink Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1980, 1991, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
|
@ -113,7 +113,9 @@ permissions.
|
|||
For more details of the properties of the sticky bit, see
|
||||
.Xr sticky 8 .
|
||||
.Pp
|
||||
Writing or changing the owner of a file
|
||||
Changing the owner of a file
|
||||
turns off the set-user-id and set-group-id bits;
|
||||
writing to a file
|
||||
turns off the set-user-id and set-group-id bits
|
||||
unless the user is the super-user.
|
||||
This makes the system somewhat more secure
|
||||
|
|
Loading…
Reference in New Issue