Chmod Calculator
Calculate Unix/Linux file permissions in octal and symbolic notation for chmod command.
Set Permissions
Owner (u)= 6
Group (g)= 4
Others (o)= 4
Or Enter Octal Value
Octal
644
Symbolic
-rw-r--r--
Commands
Octal notation
chmod 644 filenameSymbolic notation
chmod u=rw,g=r,o=r filenamePermission Reference
r (4): Read - View file contents or list directory
w (2): Write - Modify file or directory contents
x (1): Execute - Run file or access directory
Security Tips
- - Avoid 777 permissions in production
- - Use 755 for directories, 644 for files
- - Sensitive files should be 600 or 640