Browse Source

Update from lite2 version and fix grammatical error from

Krister Walfridsson <cato@ulysses.df.lth.se>.
OPENBSD_2_2
millert 27 years ago
parent
commit
8781f0e142
1 changed files with 14 additions and 13 deletions
  1. +14
    -13
      src/lib/libc/string/strmode.3

+ 14
- 13
src/lib/libc/string/strmode.3 View File

@ -1,5 +1,7 @@
.\" Copyright (c) 1990, 1991 The Regents of the University of California.
.\" All rights reserved.
.\" $OpenBSD: strmode.3,v 1.4 1997/08/20 03:52:44 millert Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
.\" .\"
.\" Redistribution and use in source and binary forms, with or without .\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions .\" modification, are permitted provided that the following conditions
@ -29,9 +31,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" $OpenBSD: strmode.3,v 1.3 1997/06/13 13:57:20 deraadt Exp $
.\" @(#)strmode.3 8.3 (Berkeley) 7/28/94
.\" .\"
.Dd July 31, 1991
.Dd July 28, 1994
.Dt STRMODE 3 .Dt STRMODE 3
.Os .Os
.Sh NAME .Sh NAME
@ -99,28 +101,28 @@ The third character is the first of the following characters that apply:
.Bl -tag -width xxxx .Bl -tag -width xxxx
.It S .It S
If the character is part of the owner permissions and the file is not If the character is part of the owner permissions and the file is not
executable or the directory is not searchable, by the owner, and the
executable or the directory is not searchable by the owner, and the
set-user-id bit is set. set-user-id bit is set.
.It S .It S
If the character is part of the group permissions and the file is not If the character is part of the group permissions and the file is not
executable or the directory is not searchable, by the group, and the
executable or the directory is not searchable by the group, and the
set-group-id bit is set. set-group-id bit is set.
.It T .It T
If the character is part of the other permissions and the file is not If the character is part of the other permissions and the file is not
executable or the directory is not searchable, by others, and the ``sticky''
executable or the directory is not searchable by others, and the ``sticky''
.Pq Dv S_ISVTX .Pq Dv S_ISVTX
bit is set. bit is set.
.It s .It s
If the character is part of the owner permissions and the file is If the character is part of the owner permissions and the file is
executable or the directory searchable, by the owner, and the set-user-id
executable or the directory searchable by the owner, and the set-user-id
bit is set. bit is set.
.It s .It s
If the character is part of the group permissions and the file is If the character is part of the group permissions and the file is
executable or the directory searchable, by the group, and the set-group-id
executable or the directory searchable by the group, and the set-group-id
bit is set. bit is set.
.It t .It t
If the character is part of the other permissions and the file is If the character is part of the other permissions and the file is
executable or the directory searchable, by others, and the ``sticky''
executable or the directory searchable by others, and the ``sticky''
.Pq Dv S_ISVTX .Pq Dv S_ISVTX
bit is set. bit is set.
.It x .It x
@ -129,7 +131,7 @@ The file is executable or the directory is searchable.
None of the above apply. None of the above apply.
.El .El
.Pp .Pp
The last character is a plus sign ``+'' if any there are any alternate
The last character is a plus sign ``+'' if there are any alternate
or additional access control methods associated with the inode, otherwise or additional access control methods associated with the inode, otherwise
it will be a space. it will be a space.
.Sh RETURN VALUES .Sh RETURN VALUES
@ -146,5 +148,4 @@ always returns 0.
.Sh HISTORY .Sh HISTORY
The The
.Fn strmode .Fn strmode
function
.Ud .
function first appeared in 4.4BSD.

Loading…
Cancel
Save