chmod Calculator: 755, 644 and rwxr-xr-x Explained
Tick permissions and get the chmod number and letters.
A Unix or Linux file has three sets of permissions: for its owner, for its group, and for everyone else. Each set is read (worth 4), write (2) and execute (1), and the three added up make one digit: 7 is all three, 5 is read and execute, 4 is read only. So 755 means the owner can do everything and everyone else can read and run it. Tick the boxes and the number, the letters ls -l shows (rwxr-xr-x), the clauses chmod takes (u=rwx,g=rx,o=rx) and the whole command follow. Or type in the field at the top: a number (755 or 0755), the letters, or a change such as u+x, go-w or a=r, which is applied to the mode as it stood, as chmod would. (A change with no u, g, o or a is taken as a: chmod itself would leave out what your umask holds back.) A fourth digit in front holds the special bits: set user ID (4), set group ID (2) and sticky (1). For a folder, execute means it can be opened; say it’s a folder in Options. Nothing is looked at or changed on any computer: this only works the number out.
How to use chmod calculator
- Tick Read, Write and Execute for Owner, Group and Everyone else, or type a mode such as 755 or u+x.
- For a folder, turn on It’s a folder in Options, and set the special bits if you need them.
- Press Copy command, or copy the number, the letters or the clauses.
chmod calculator: common questions
Does the chmod calculator change permissions on my computer?
No. The chmod calculator only works out the number, the letters and the command in your browser; nothing on any computer is looked at or changed, and a file name you type is only used to write the command out.
What do chmod 755 and 644 mean?
Each digit adds read (4), write (2) and execute (1) for the owner, the group and everyone else. 755 (rwxr-xr-x) lets the owner do everything and others read and run it; 644 (rw-r--r--) lets the owner change the file and everyone read it.
How does the chmod calculator read a change such as u+x or go-w?
The chmod calculator applies a change such as u+x, go-w or a=r to the mode as it stood, as chmod would. A change with no u, g, o or a is taken as a, whereas chmod itself would leave out what your umask holds back.
Everything stays on your device. Nothing is uploaded. Works offline once your first visit has stored the app.