3.6. Adjusting file permissions

[Note]Note

This is a new section and is still under development.

TODO groups, chmod, chgrp, chown, rwx, etc. Examples!

Table 3.8. Commands for adjusting file permissions

CommandAction

chgrp [-R] grp path

Changes the group ownership of path to grp [if path is a directory, include all subdirectories]

chmod [-R] perms path

Changes the permissions of path to perms [if path is a directory, include all subdirectories] TODO: Explain how to change permissions!

chown [-R] user path

Changes the ownership of path to user [if path is a directory, include all subdirectories]

groups [user]

Lists the groups of which the current user is a member [for the given user instead]


Back to Guide main page