Changes

Jump to: navigation, search
File Permissions
'''NOTE:''' You can use the '''-R''' option to set permissions for directory, subdirectory and directory contents '''recursively'''.
 
<table align="right"><tr><td>[[Image:umask-directory.png|thumb|right|200px|Setting '''umask''' for newly-created '''directories'''.]]</td><td>[[Image:umask-file.png|thumb|right|200px|Setting '''umask''' for newly-created '''regular files''']]</td></tr></table>
'''Setting Permissions for Newly-Created Directories and Regular Files (umask):'''
The '''umask''' command is used to set the permissions of newly-created directories and regular files.
<table align="right"><tr><td>[[Image:umask-directory.png|thumb|right|200px|Setting '''umask''' for newly-created '''directories'''.]]</td><td>[[Image:umask-file.png|thumb|right|200px|Setting '''umask''' for newly-created '''regular files''']]</td></tr></table>
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.
13,420
edits

Navigation menu