13,420
edits
Changes
→File Permissions
The permissions of '''newly-created''' directories and regular files are automatically assigned via a '''user mask''' (we will discuss this shortly). In order to change permissions for directories and regular files, you would use the '''chmod''' command.
''Changing File Permissions with chmod command:''
Symbolic Method:
Octal (Absolute) Method:
NOTE: You can use the '''-R''' option to set permissions for directory, subdirectory and directory contents '''recursively'''.
''Setting File Permissions upon Directory / Regular File Creation:''
x