Useful
tools
Everything runs right here in your browser. What you paste never leaves this page — only DNS lookups go to Google Public DNS and the propagation checker's resolvers, Whois asks the domain or IP registry, My IP asks ipwho.is, and the calculator fetches exchange rates.
- 24 tools
- 0 uploads
- EN · RU calculator
chmod calculator
Tick the boxes or type a mode in any form — 755, 0644, rwxr-xr-x, u=rwx,go=rx / a+x — or paste drwxr-xr-x or a whole line from ls -l to see what it allows for that folder, file or link. You get every other form plus the command to run. Covers setuid, setgid and the sticky bit.
r · 4Write w · 2Run / open x · 1
Owner u
Group g
Others o
Special
chmod calculator: questions
What does chmod 755 mean?
The owner can read, write and execute (7 = 4+2+1); the group and everyone else can read and execute (5 = 4+1). It's the usual mode for scripts and folders.
What permissions should an SSH key have?
600 for the private key (only you can read and write it) and 700 for the ~/.ssh folder. SSH refuses keys that others can read.
What are setuid, setgid and the sticky bit?
setuid runs a program with its owner's rights, setgid with its group's (and makes new files in a folder inherit the group), and the sticky bit lets only owners delete their files in a shared folder like /tmp.