Chmod Calculator
Calculate Unix/Linux file permissions
644-rw-r--r--chmod 644๐ Permissions
| Read (r) | Write (w) | Execute (x) | Value | |
|---|---|---|---|---|
| ๐ค Owner (u) | 6 | |||
| ๐ฅ Group (g) | 4 | |||
| ๐ Other (o) | 4 |
Special Bits
๐ข Numeric Input
3-digit (755) or 4-digit with special bits (4755)
โก Common Presets
๐ Permission Values
| Symbol | Value | Meaning |
|---|---|---|
| r | 4 | Read |
| w | 2 | Write |
| x | 1 | Execute |
| - | 0 | No permission |
๐ Special Bits
| Bit | Value | Description |
|---|---|---|
| SetUID (s) | 4 | Execute as owner |
| SetGID (s) | 2 | Execute as group |
| Sticky (t) | 1 | Only owner can delete |
๐ Symbolic Notation Explanation
- (file)
d (dir)
rwx = 7
r-x = 5
r-- = 4
How to Calculate File Permissions
- Toggle permission checkboxes for Owner, Group, and Others
- Or enter a numeric value (e.g., 755) directly
- See the symbolic notation update in real-time
- Copy the chmod command for your terminal
- Use common presets for standard permission sets
Frequently Asked Questions
What does chmod 755 mean?
755 means: Owner can read/write/execute (7), Group can read/execute (5), Others can read/execute (5). Common for directories and executable scripts.
What's the difference between 644 and 755?
644 (rw-r--r--) is for regular files - owner can read/write, others can only read. 755 (rwxr-xr-x) adds execute permission, needed for directories and scripts.
What are special permission bits?
Special bits include: Setuid (4xxx) - run as owner, Setgid (2xxx) - run as group, Sticky bit (1xxx) - only owner can delete. Used for special system requirements.
Why is chmod 777 dangerous?
777 gives everyone full read/write/execute access. This is a security risk as any user or process can modify or delete the file. Avoid on production systems.
How do I read symbolic notation?
Symbolic notation like 'rwxr-xr--' shows permissions in groups of 3: owner (rwx), group (r-x), others (r--). r=read, w=write, x=execute, -=no permission.
Category:
Developer Tools โRelated Tools
Base64 Encoder / Decoder
Encode text or files to Base64, or decode Base64 back to its original form. Supports URL-safe Base64...
JSON Formatter & Validator
Format, validate, minify, and explore JSON data. Interactive tree view with syntax highlighting and ...
Cron Expression Generator
Build and understand cron expressions visually. Schedule tasks with human-readable explanations and ...