Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

10.0;umask, revision 1.0, 88/01/21
umask -- set UNIX file-creation mode mask
usage:  umask [nnn]




DESCRIPTION
     umask sets or displays your UNIX file-creation-mode mask.  This is an
     internal shell command.

ARGUMENTS
     nnn (optional)
                 Specify the read/write/execute permissions for owner, group,
                 and others, respectively.  The value of each specified octal
                 digit is subtracted from the corresponding "digit" specified
                 by the system for the creation of a file.

                 Default if omitted:  display current mask value

EXAMPLES
     To remove write permission of the group and others, execute the following
     command.

     $ umask 022

     Files normally created with mode 777 become mode 755; files created with
     mode 666 become mode 644.



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026