UMASK

NAME
SYNOPSIS
DESCRIPTION

NAME

umask - set file creation mode mask

SYNOPSIS

umask EXPR

umask

DESCRIPTION

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 entry in the perlfunc manpage, if all you have is a string.