13,420
edits
Changes
→File Permissions
The '''umask''' command is used to set the permissions of newly-created directories and regular files.
Issuing the '''umask''' command without arguments will display the current umask value.
Refer to the diagrams on the right-side to set the umask value for directories and regular files.
''Example:''
'''umask 022'''