How to Change File Permissions in Symbolic Mode
In this procedure, a user changes permissions on a file that the user owns.
Example 1-3 Changing Permissions in Symbolic Mode
In this example, the owner removes read permission others.
% chmod o-r example-file1
The following example, the owner adds read and execute permissions for user, group, and others.
% chmod a+rx example-file2
In this example, the owner adds read, write, and execute permissions for group members.
% chmod g=rwx example-file3