Unix Permissions Calculator -farukguler.com
⚠️ 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:
640
Chmod Command:
chmod 640 file
Recursive Chmod Command:
chmod -R 640 directory
Symbolic Chmod Command:
chmod u=rw,g=r,o= file
About Permissions:
r (read): View file content, list directory contents
w (write): Modify file content, create/delete files in a directory
x (execute): Execute a file, enter a directory
SetUID (s): Executes with the file owner's permissions
SetGID (s): Executes with the group's permissions, directories inherit the parent's group
Sticky Bit (t): Only the file owner or root can delete/rename files in the directory