umask - set file creation mode mask
umask
EXPR
umask
Sets the umask for the process to
EXPR and returns the previous value. If
EXPR is omitted, merely returns the current umask. Remember that a umask is a number, usually given in octal; it is
not a string of octal digits. See also the oct manpage, if all you have is a string.