summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/chmod.2
diff options
context:
space:
mode:
authoraaron <aaron@openbsd.org>2000-04-15 11:45:51 +0000
committeraaron <aaron@openbsd.org>2000-04-15 11:45:51 +0000
commita3542fadceea0b2934914fdb31f44bdc344ef18e (patch)
treeaffef4e28b9bbc4beda06f911f301b0843b29273 /lib/libc/sys/chmod.2
parentOpenSSL 0.9.5a merge - fixes DSA cert generation problem (diff)
downloadwireguard-openbsd-a3542fadceea0b2934914fdb31f44bdc344ef18e.tar.xz
wireguard-openbsd-a3542fadceea0b2934914fdb31f44bdc344ef18e.zip
- For consistency, `super-user' -> `superuser' in all cases.
- Some punctuation fixes. - Some `id' -> `ID'.
Diffstat (limited to 'lib/libc/sys/chmod.2')
-rw-r--r--lib/libc/sys/chmod.214
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/libc/sys/chmod.2 b/lib/libc/sys/chmod.2
index c9188372db0..57925f7f989 100644
--- a/lib/libc/sys/chmod.2
+++ b/lib/libc/sys/chmod.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: chmod.2,v 1.8 1999/06/29 14:09:51 aaron Exp $
+.\" $OpenBSD: chmod.2,v 1.9 2000/04/15 11:46:02 aaron Exp $
.\" $NetBSD: chmod.2,v 1.7 1995/02/27 12:32:06 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -68,7 +68,7 @@ the file specified by
(or
.Fa fd ) ,
or
-is the super-user.
+is the superuser.
A mode is created from
.Em or'd
permission bit masks
@@ -116,11 +116,11 @@ For more details of the properties of the sticky bit, see
.Xr sticky 8 .
.Pp
Writing or changing the owner of a file
-turns off the set-user-id and set-group-id bits
-unless the user is the super-user.
+turns off the set-user-ID and set-group-ID bits
+unless the user is the superuser.
This makes the system somewhat more secure
-by protecting set-user-id (set-group-id) files
-from remaining set-user-id (set-group-id) if they are modified,
+by protecting set-user-ID (set-group-ID) files
+from remaining set-user-ID (set-group-ID) if they are modified,
at the expense of a degree of compatibility.
.Sh RETURN VALUES
Upon successful completion, a value of 0 is returned.
@@ -150,7 +150,7 @@ contains bits other than the file type and those described above.
Too many symbolic links were encountered in translating the pathname.
.It Bq Er EPERM
The effective user ID does not match the owner of the file and
-the effective user ID is not the super-user.
+the effective user ID is not the superuser.
.It Bq Er EROFS
The named file resides on a read-only file system.
.It Bq Er EFAULT