Changes

Jump to: navigation, search
File Permissions
'''NOTE:''' In this course, we cannot create groups or assign users to groups in the '''Matrix''' server.<br>Instead, you will learn how to those tasks when or if you take a Unix/Linux administration account.<br>On the other hand, you can change which '''user''', '''same group members''' or '''other group members'''<br>can access or NOT access a directory or regular file.<br><br>
<table align="right"><tr><td>[[Image:directory-permissions.png|thumb|right|350px|Permissions of a '''directory''' that contain subdirectories and regular files.]]</td><td>[[Image:file-permissions.png|thumb|right|350px|Permissions of a '''regular file''' contained within a directory.]]</td></tr></table>
File Permissions consist of '''two-layers''':<br><br>'''First''', the permissions of a ''directory'' that contains regular files, and '''second''', permissions of the ''regular files'' within a directory.
A symbol ''dash'' "'''-'''" indicates that the permission has '''NOT''' been granted.
[[Image:file-permissions.png|thumb|right|350px|Permissions of a '''regular file''' contained within a directory.]]
The permissions of '''newly-created''' directories and regular files are automatically assigned<br>via a '''user mask''' (we will discuss this shortly). In order to change permissions for directories and regular files,<br>you would use the '''chmod''' command.
13,420
edits

Navigation menu