Calculate Unix/Linux file permissions visually. Convert between symbolic and numeric notation instantly. ๐ Dev Tool
| Read (r) | Write (w) | Execute (x) | Octal | |
|---|---|---|---|---|
| ๐ค Owner | 7 | |||
| ๐ฅ Group | 5 | |||
| ๐ Others | 4 |
Owner: The user who owns the file. Group: Users belonging to the file's group. Others: Everyone else. Permissions are checked in order โ if you're the owner, only owner permissions apply, even if group or others have more access.
644 โ standard files (owner can edit, everyone can read). 755 โ executable files and directories. 600 โ private files like SSH keys. 777 โ full access for everyone (use sparingly, security risk). 400 โ read-only for owner (e.g. config files).
Run chmod [permissions] [filename] in your terminal. For example: chmod 755 deploy.sh makes a script executable. To apply recursively to a directory: chmod -R 755 /path/to/dir. You can also use symbolic notation: chmod u+x file adds execute for owner.