diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-03-12 20:12:44 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-03-12 20:12:44 +0000 |
commit | 14e969b705e70fddba0193246802558b1b85f7fc (patch) | |
tree | 0c243d723b590b9920e91182ca468de8cfffddc0 /bin/chmod | |
parent | fc683899279ea279f5ecf6087bb06cc0403e903d (diff) |
more .Li
Diffstat (limited to 'bin/chmod')
-rw-r--r-- | bin/chmod/chmod.1 | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/bin/chmod/chmod.1 b/bin/chmod/chmod.1 index 44d697271c0..2884dadc8c1 100644 --- a/bin/chmod/chmod.1 +++ b/bin/chmod/chmod.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: chmod.1,v 1.23 2002/02/11 18:43:50 mpech Exp $ +.\" $OpenBSD: chmod.1,v 1.24 2003/03/12 20:12:35 deraadt Exp $ .\" $NetBSD: chmod.1,v 1.8 1995/03/21 09:02:07 cgd Exp $ .\" .\" Copyright (c) 1989, 1990, 1993, 1994 @@ -328,38 +328,38 @@ or .Sq t , are ignored. .Sh EXAMPLES -.Cm $ chmod 644 file +.Li $ chmod 644 file .Pp Set file readable by anyone and writable by the owner only. .Pp -.Cm $ chmod go-w file +.Li $ chmod go-w file .Pp Deny write permission to group and others. .Pp -.Cm $ chmod =rw,+X file +.Li $ chmod =rw,+X file .Pp Set the read and write permissions to the usual defaults, but retain any execute permissions that are currently set. .Pp -.Cm $ chmod +X file +.Li $ chmod +X file .Pp Make a directory or file searchable/executable by everyone if it is already searchable/executable by anyone. .Pp -.Cm $ chmod 755 file +.Li $ chmod 755 file .br -.Cm $ chmod u=rwx,go=rx file +.Li $ chmod u=rwx,go=rx file .br -.Cm $ chmod u=rwx,go=u-w file +.Li $ chmod u=rwx,go=u-w file .Pp Any of these commands will make a file readable/executable by everyone and writable by the owner only. .Pp -.Cm $ chmod go= file +.Li $ chmod go= file .Pp Clear all mode bits for group and others. .Pp -.Cm $ chmod g=u-w file +.Li $ chmod g=u-w file .Pp Set the group bits equal to the user bits, but clear the group write bit. .Sh SEE ALSO |