System Administration Guide

Changing File Permissions

Table 71-1 shows the octal values for setting file and directory permissions. You use these numbers in sets of three to set permissions for owner, group, and other (in that order). For example, the value 644 sets read/write permissions for owner, and read-only permissions for group and other.

Table 71-1 Octal Values for File Permissions

Value 

Description 

No permissions 

Execute-only 

Write-only 

Write, execute 

Read-only 

Read, execute 

Read, write 

Read, write, execute