Linux
Permissions Calculator
Decode a Linux permission (octal or symbolic): rights per group, setuid/setgid/sticky bits and security recommendations.
How it works
Decoding a permission means translating each digit into rights: 6 = read+write, 4 = read only, 0 = no rights. Mode 644 is the standard for data files, 755 for executables and directories.
Sensitive configuration files (SSH keys, secrets) should be 600, or even 400. Personal directories 700. These settings greatly reduce the attack surface if another account is compromised.
Examples
Frequently asked questions
Why is my SSH key refused?
OpenSSH requires strict permissions: 600 for the private key, 700 for ~/.ssh and 644 for the public key.
How do you find poorly protected sensitive files?
Use find: find / -perm -o+w -type f to list files writable by everyone.