diff options
Diffstat (limited to 'usr/src/man/man1/umask.1')
-rw-r--r-- | usr/src/man/man1/umask.1 | 40 |
1 files changed, 14 insertions, 26 deletions
diff --git a/usr/src/man/man1/umask.1 b/usr/src/man/man1/umask.1 index 9938d992ce..3f0d814a1a 100644 --- a/usr/src/man/man1/umask.1 +++ b/usr/src/man/man1/umask.1 @@ -3,14 +3,14 @@ .\" Copyright (c) 1992, X/Open Company Limited All Rights Reserved .\" Portions Copyright (c) 1982-2007 AT&T Knowledge Ventures .\" Portions Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License. .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] -.TH umask 1 "17 Sep 2007" "SunOS 5.11" "User Commands" +.TH UMASK 1 "Sep 17, 2007" .SH NAME umask \- get or set the file mode creation mask .SH SYNOPSIS @@ -54,8 +54,8 @@ execution environment, such as one of the following: .sp .in +2 .nf -(umask 002) -nohup umask ... +(umask 002) +nohup umask ... find . -exec umask ... .fi .in -2 @@ -135,12 +135,10 @@ The following option is supported for \fB/usr/bin/umask\fR and \fBumask\fR in \fBksh\fR: .sp .ne 2 -.mk .na \fB\fB-S\fR\fR .ad .RS 6n -.rt Produces symbolic output. .RE @@ -155,12 +153,10 @@ the previous file mode creation mask. The following option is supported in \fBksh93\fR: .sp .ne 2 -.mk .na \fB\fB-S\fR\fR .ad .RS 6n -.rt Causes the file creation mask to be written or treated as a symbolic value rather than an octal number. .RE @@ -171,12 +167,10 @@ rather than an octal number. The following operand is supported: .sp .ne 2 -.mk .na \fB\fImask\fR\fR .ad .RS 8n -.rt A string specifying the new file mode creation mask. The string is treated in the same way as the \fImode\fR operand described in the \fBchmod\fR(1) manual page. @@ -335,24 +329,20 @@ that affect the execution of \fBumask\fR: \fBLANG\fR, \fBLC_ALL\fR, The following exit values are returned: .sp .ne 2 -.mk .na \fB\fB0\fR\fR .ad .RS 6n -.rt The file mode creation mask was successfully changed, or no \fImask\fR operand was supplied. .RE .sp .ne 2 -.mk .na \fB\fB>0\fR\fR .ad .RS 6n -.rt An error occurred. .RE @@ -365,13 +355,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard .TE .SS "ksh93" @@ -379,13 +368,12 @@ Interface StabilityStandard .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityExternal +Interface Stability External .TE .SH SEE ALSO |