409: Final
Command: chmod
chmod
Syntax: chmod <permissions> <file>
Arguments: users: u, g, o, a, modifiers: +, -, and permissions: r, w, x
Description: Changes user permissions for a file. The four usergroups are u (users), g (group), o (owner), and a (all). The three actual permissions that are allowed to be set are r for read-only access, w for write access, and x for executability.
Example:
$> chmod go-rwx lorem_ipsum.txt
(deletes rwx permissions for group and owner)
Example:
$> chmod a+rwx lorem_ipsum.txt
(adds rwx permissions for all users)