File Type:
     
Special Permissions:
Permission
Owner (u)
Group (g)
Others (o)
Read (4)
Write (2)
Execute (1)
⚠️ Directories require execute (x) permissions to be accessible.
⚠️ SetUID should only be used for executable files.
⚠️ SetGID should only be used for executable files or directories.
⚠️ Sticky Bit should only be used for directories.
Symbolic Notation:
-rw-r-----
Numeric (Octal) Notation:
Chmod Command:
chmod 640 file
Recursive Chmod Command:
chmod -R 640 directory
Symbolic Chmod Command:
chmod u=rw,g=r,o= file