Setting access modes
New files receive initial access mode as described by the umask.
The umask strips specified bits from the initial mode settings. Typical umasks are 002 and 022.
Existing file modes are changed using chmod with either symbolic or octal mode specifications:
user r, w, x, group r, w, x, other r, w, x rwxrwxrwx = 111111111 = 777 rwxr-xr-- = 111101100 = 751
chmod uses the following syntax:
Modify the access mode on
filesusing a symbolic or octal