Linux tool
Chmod & Linux Permissions Calculator
A chmod calculator that is also a Linux permissions calculator. Read, write, execute, setuid, setgid, sticky, then copy chmod 755 or Node fs.chmod. It all stays on your device.
Like the tool? Find a bug?Share with usCalculator
Toggle read, write, and execute, or paste 755 / rwxr-xr-x. Copy a chmod command or a Node fs.chmod snippet. Files stay on this device.
| Who | Read 4 | Write 2 | Exec 1 | Octal |
|---|---|---|---|---|
| Owner | 6 | |||
| Group | 4 | |||
| Other | 4 |
Special bits
644
-rw-r--r--
Owner can read and write. Group can read. Others match group.
0644 · 0o644
- Owner
- read and write
- Group
- read
- Other
- read
chmod 644 file
chmod u=rw,g=r,o=r file
import { chmod } from "node:fs/promises";
// 644 rw-r--r--
await chmod("file", 0o644);