umask man page on UNIXv7

Man page or keyword search:  
man Server   300 pages
apropos Keyword Search (all sections)
Output format
UNIXv7 logo
[printable version]

UMASK(2)							      UMASK(2)

NAME
       umask - set file creation mode mask

SYNOPSIS
       umask(complmode)

DESCRIPTION
       Umask  sets  a  mask  used  whenever  a	file is created by creat(2) or
       mknod(2): the actual mode (see chmod(2)) of the newly-created  file  is
       the  logical  and of the given mode and the complement of the argument.
       Only the low-order 9 bits of the mask (the  protection  bits)  partici‐
       pate.   In  other  words, the mask shows the bits to be turned off when
       files are created.

       The previous value of the mask is returned by the call.	The  value  is
       initially  0  (no  restrictions).   The mask is inherited by child pro‐
       cesses.

SEE ALSO
       creat(2), mknod(2), chmod(2)

ASSEMBLER
       (umask = 60.)
       sys umask; complmode

								      UMASK(2)
[top]

List of man pages available for UNIXv7

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net