System Administration Guide: Security Services

Examples—Changing Permissions in Symbolic Mode

In the following example, read permission are taken away from others.


$ chmod o-r filea

In the following example, read and execute permissions are added for user, group, and others.


$ chmod a+rx fileb

In the following example, read, write, and execute permissions are assigned to group.


$ chmod g=rwx filec