Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ umask — Apollo

Media Vault

Software Library

Restoration Projects

Artifacts Sought

9.5;umask, revision 9.5, 86/07/16
UMASK -- Set DOMAIN/IX file-creation mode mask.
usage:  umask [nnn]


FORMAT

  UMASK [nnn]


  UMASK  sets  or  displays  your DOMAIN/IX 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.
                     Refer to the DOMAIN/IX description  of  creat(2)  for  more
                     information  about  file  creation.   Also see chmod(1) and
                     umask(2) for further discussion of file permissions.

                     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