Tag: umask
About
umask (abbreviated from user file creation mode mask) is a function in POSIX environments which affects the default file system mode for newly created files and directories of the current process. The permissions of a file created under a given umask value are calculated using the following bitwise operation (note that umasks are always specified in octal)
bitwise AND of the unary complement of the argument (using bitwise NOT) and the full access mode.
The full access mode is 666 in the case of files, and 777 in the case of directories. Most Unix shells provide a umask command that affects all child processes executed in this shell.
From en.wikipedia.org/wiki/Umask






tagcloud