Chmod Permissions Calculator
Convert octal (755, 644, 600) and symbolic (-rwxr-xr-x) Linux permissions with SUID, SGID, Sticky bit & CLI commands.
SSH Key Pair Generator
Generate Ed25519/RSA SSH keys locally and pair them with strict chmod 600 private key permissions.
Cron Expression Builder
Build and explain Linux crontab schedules with next execution previews locally.
Why Cloud Alternatives Put Your Data at Risk
Getting Linux file permissions wrong either breaks production deployments (Permission denied on SSH keys or web roots) or opens severe security holes (chmod 777 exposing world-writable scripts).
KitWharf's Chmod Calculator gives you interactive Owner/Group/Public checkboxes, instant octal β symbolic translation, SUID/SGID/Sticky bit toggles, and copy-ready chmod commands with zero bloat.
Step-by-Step Local Workflow
Follow this streamlined four-step process using the Chmod Permissions Calculator & Command Builder directly in your browser:
- Toggle Owner, Group & Public Permissions: Check Read (
4), Write (2), and Execute (1) for each tierβor pick a security preset. - Add Special Bits (Optional): Enable SUID (
4000), SGID (2000), or Sticky Bit (1000) for shared directories like/tmp. - Verify Octal & Symbolic Notation: Confirm both
0755and-rwxr-xr-xbefore running on production servers. - Copy the CLI Command: Copy
chmod 600 ~/.ssh/id_ed25519orchmod -R 755 /var/www/htmlin one click.
How Octal Permission Math Works (4 + 2 + 1)
Each permission digit (Owner, Group, Public) is a 3-bit sum: Read (r) = 4, Write (w) = 2, Execute (x) = 1.
7(4+2+1=rwx): Full read, write, execute6(4+2=rw-): Read and write (standard for files)5(4+1=r-x): Read and execute (standard for public directories/scripts)4(r--): Read-only0(---): No access
Technical Comparison & Reference Matrix
| Octal | Symbolic | Common Safe Use Case |
|---|---|---|
| 600 | -rw------- | Private SSH keys (~/.ssh/id_ed25519), .env files, TLS private keys |
| 644 | -rw-r--r-- | Standard web files (HTML, CSS, JS, Nginx configs, public keys) |
| 755 | -rwxr-xr-x | Directories and executable scripts (/var/www, deploy.sh) |
| 700 | -rwx------ | Private directories (~/.ssh folder) |
| 777 | -rwxrwxrwx | AVOID in production β world-writable security risk |
Fixing 'WARNING: UNPROTECTED PRIVATE KEY FILE' on SSH
OpenSSH refuses to use any private key readable by group or other users. Fix it with:
chmod 700 ~/.ssh
chmod 600 ~/.ssh/id_ed25519
chmod 644 ~/.ssh/id_ed25519.pub
This grants you read/write access to your private key while blocking every other local user.
Common Pitfalls & How to Avoid Them
Even experienced teams run into subtle edge cases when processing files or data locally. Watch out for these frequent issues:
- Running
chmod -R 777to Fix a Permission Error: Never use777on a server. Instead, fix file ownership (chown) and use755for directories and644for files. - Applying
644Recursively to Directories: Directories need the execute (x) bit (755) to be traversed (cdinto). Usefind . -type d -exec chmod 755 {} +for folders and-type fwith644for files. - Forgetting the Sticky Bit (
1777) on Shared Folders: The Sticky Bit (+t) ensures users can only delete their own files inside shared directories like/tmp.
Privacy Verification & Security Best Practices
When working with sensitive personal, financial, or corporate files, never rely solely on a website's marketing claims. Follow these practical verification steps:
- Follow least privilege:
600for secrets/keys,644for static files,755for directories and scripts. - Double-check recursive
-Rcommands before running them as root. - Verify
ls -laoutput against symbolic notation (-rwxr-xr-x) after applying changes.
Independent Zero-Upload Audit (30 Seconds)
You can verify that KitWharf processes your files strictly inside local browser RAM:
- Open Chrome, Edge, or Firefox Developer Tools (
F12) and select the Network tab. - Load the Chmod Permissions Calculator & Command Builder page once so the client-side bundle is cached.
- Toggle Offline Mode in the Network panel (or disconnect Wi-Fi) and process your file.
- Confirm zero outbound
POSTrequests containing your file payload occur while the tool completes its work instantaneously.
π‘ Try it instantly: Ready to run this workflow privately? Open Chmod Permissions Calculator & Command Builder now β 100% local in browser RAM with zero login or watermarks.