natbox.io

chmod calculator

Linux file permissions as numbers (755) and letters (rwxr-xr-x), both ways. Runs in your browser.

ReadWriteExecute
Owner
Group
Others

Common permissions

NumberLettersUse it for
644rw-r--r--Normal files: web pages, config files
755rwxr-xr-xFolders and programs or scripts others may run
600rw-------Secrets: .env files, SSH private keys
700rwx------Private folders, such as ~/.ssh
640rw-r-----Files a service's group needs to read

Avoid 777: it lets every user on the system change the file. If something "only works with 777", the owner is wrong; fix it with chown instead.

More free tools: systemd service generator, SSH key generator, all tools. Guide: secure your server.