Glossary term
What is umask? Meaning for developers
A mask that removes permission bits from every new file and directory, so 022 gives files 644 and directories 755.
Learn it properly · Linux & ShellLesson 1: Users, Permissions and OwnershipUsers and groups, reading rwx and octal modes, chmod and chown, sudo, umask, setuid in plain words, and common permission mistakes.