umask - set file creation mode mask
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 oct, if all you have is a string.