umask [nnn]
umask
nnn
Display file creation mask or set file creation mask to octal value nnn. The file creation mask determines which permission bits are turned off (e.g., umask 002 produces rw-rw-r--). umask is also a UNIX command (see Section 2).