summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormillert <>1997-08-20 03:52:44 +0000
committermillert <>1997-08-20 03:52:44 +0000
commit66fba11047b8a3b1be524ba8872525f723bee731 (patch)
tree514a76a1b1d97f250dfb5ac945ef6f2534beab22
parent5c41dcb9a0480992b687112376de744d9812fdff (diff)
downloadopenbsd-66fba11047b8a3b1be524ba8872525f723bee731.tar.gz
openbsd-66fba11047b8a3b1be524ba8872525f723bee731.tar.bz2
openbsd-66fba11047b8a3b1be524ba8872525f723bee731.zip
Update from lite2 version and fix grammatical error from
Krister Walfridsson <cato@ulysses.df.lth.se>.
-rw-r--r--src/lib/libc/string/strmode.327
1 files changed, 14 insertions, 13 deletions
diff --git a/src/lib/libc/string/strmode.3 b/src/lib/libc/string/strmode.3
index af16a2beb1..61233ee581 100644
--- a/src/lib/libc/string/strmode.3
+++ b/src/lib/libc/string/strmode.3
@@ -1,5 +1,7 @@
1.\" Copyright (c) 1990, 1991 The Regents of the University of California. 1.\" $OpenBSD: strmode.3,v 1.4 1997/08/20 03:52:44 millert Exp $
2.\" All rights reserved. 2.\"
3.\" Copyright (c) 1990, 1991, 1993
4.\" The Regents of the University of California. All rights reserved.
3.\" 5.\"
4.\" Redistribution and use in source and binary forms, with or without 6.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions 7.\" modification, are permitted provided that the following conditions
@@ -29,9 +31,9 @@
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE. 32.\" SUCH DAMAGE.
31.\" 33.\"
32.\" $OpenBSD: strmode.3,v 1.3 1997/06/13 13:57:20 deraadt Exp $ 34.\" @(#)strmode.3 8.3 (Berkeley) 7/28/94
33.\" 35.\"
34.Dd July 31, 1991 36.Dd July 28, 1994
35.Dt STRMODE 3 37.Dt STRMODE 3
36.Os 38.Os
37.Sh NAME 39.Sh NAME
@@ -99,28 +101,28 @@ The third character is the first of the following characters that apply:
99.Bl -tag -width xxxx 101.Bl -tag -width xxxx
100.It S 102.It S
101If the character is part of the owner permissions and the file is not 103If the character is part of the owner permissions and the file is not
102executable or the directory is not searchable, by the owner, and the 104executable or the directory is not searchable by the owner, and the
103set-user-id bit is set. 105set-user-id bit is set.
104.It S 106.It S
105If the character is part of the group permissions and the file is not 107If the character is part of the group permissions and the file is not
106executable or the directory is not searchable, by the group, and the 108executable or the directory is not searchable by the group, and the
107set-group-id bit is set. 109set-group-id bit is set.
108.It T 110.It T
109If the character is part of the other permissions and the file is not 111If the character is part of the other permissions and the file is not
110executable or the directory is not searchable, by others, and the ``sticky'' 112executable or the directory is not searchable by others, and the ``sticky''
111.Pq Dv S_ISVTX 113.Pq Dv S_ISVTX
112bit is set. 114bit is set.
113.It s 115.It s
114If the character is part of the owner permissions and the file is 116If the character is part of the owner permissions and the file is
115executable or the directory searchable, by the owner, and the set-user-id 117executable or the directory searchable by the owner, and the set-user-id
116bit is set. 118bit is set.
117.It s 119.It s
118If the character is part of the group permissions and the file is 120If the character is part of the group permissions and the file is
119executable or the directory searchable, by the group, and the set-group-id 121executable or the directory searchable by the group, and the set-group-id
120bit is set. 122bit is set.
121.It t 123.It t
122If the character is part of the other permissions and the file is 124If the character is part of the other permissions and the file is
123executable or the directory searchable, by others, and the ``sticky'' 125executable or the directory searchable by others, and the ``sticky''
124.Pq Dv S_ISVTX 126.Pq Dv S_ISVTX
125bit is set. 127bit is set.
126.It x 128.It x
@@ -129,7 +131,7 @@ The file is executable or the directory is searchable.
129None of the above apply. 131None of the above apply.
130.El 132.El
131.Pp 133.Pp
132The last character is a plus sign ``+'' if any there are any alternate 134The last character is a plus sign ``+'' if there are any alternate
133or additional access control methods associated with the inode, otherwise 135or additional access control methods associated with the inode, otherwise
134it will be a space. 136it will be a space.
135.Sh RETURN VALUES 137.Sh RETURN VALUES
@@ -146,5 +148,4 @@ always returns 0.
146.Sh HISTORY 148.Sh HISTORY
147The 149The
148.Fn strmode 150.Fn strmode
149function 151function first appeared in 4.4BSD.
150.Ud .