Chmod Calculator
Client-Side SecureFree online Chmod Calculator. Generate Linux file permission codes (777, 755) visually. Understand permissions with this simple tool.
Advanced Special Bits
Is this tool broken?
Let us know if you found a bug or have a feature request.
Online Chmod Calculator & Generator
Calculate Linux file permissions instantly. Use our visual toggle switches to set Read, Write, and Execute rights for Owner, Group, and Public.
The tool automatically generates the corresponding Octal Code(e.g., 755) and Symbolic Notation (e.g., -rwxr-xr-x) for use with the chmod command in Unix-like systems.
Standard Permissions
- 755Web Folders: Readable/Executable by everyone, writable only by owner. Standard for
/var/www. - 644Web Files: Readable by everyone, writable only by owner. Standard for `.html`, `.css`, `.php` files.
- 777Full Access: Dangerous. Everyone can read, write, and execute. Avoid in production.
Special Bits Guide
- SetUID (4)Runs the executable with the permissions of the file owner (e.g. root) instead of the user running it. Used for commands like
passwd. - Sticky (1)Restricts file deletion in shared directories. Only the file owner can delete their own files. Standard for
/tmp.
Octal Value Reference
Common Questions
What does -R mean?
The -R flag stands for Recursive. It applies the permission changes to the target directory and all files and subdirectories inside it.
How to reset permissions?
If you messed up permissions, a safe default for most web servers is:
Directories: find . -type d -exec chmod 755 {} \;
Files: find . -type f -exec chmod 644 {} \;
You might also like
Free online Cron Job Generator. Create and schedule cron expressions.
Free online Diff Checker. Compare text, code, or JSON files side-by-side to find differences. Highlight changes.
Free online JSON to TypeScript Converter. Automatically generate TypeScript interfaces from your JSON objects. Save time and reduce errors.