
Security News
GitHub Actions Adds cache-mode to Limit Cache Poisoning Risk
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.
devkits-chmod-calculator
Advanced tools
Calculate Unix file permissions between numeric (755) and symbolic (rwxr-xr-x) notation. Essential tool for developers working with Linux/Unix systems.
Calculate Unix file permissions between numeric (755) and symbolic (rwxr-xr-x) notation. Essential tool for developers working with Linux/Unix systems.
Love these tools? Support development via Open Collective
Get access to 20+ premium tools including SQL to Code, Data Faker, JWT Generator, and more — all for $9 one-time.
💡 Pay with Crypto: BTC, ETH, USDT (TRC-20), SOL accepted. View crypto addresses
This package is part of DevKits — 82+ free developer tools. The online Chmod Calculator includes visual permission builder and preset recommendations.
→ Try Visual Permission Builder
npm install @devkits/chmod-calculator
const { fromNumeric, toSymbolic, parsePermissions, toCommand, PRESETS } = require('@devkits/chmod-calculator');
// Convert numeric to symbolic
fromNumeric('755');
// 'rwxr-xr-x'
fromNumeric('644');
// 'rw-r--r--'
// Convert symbolic to numeric
toSymbolic('rwxr-xr-x');
// '755'
// Get detailed permission breakdown
parsePermissions('755');
// {
// numeric: '755',
// symbolic: 'rwxr-xr-x',
// owner: { value: 7, symbolic: 'rwx', read: true, write: true, execute: true },
// group: { value: 5, symbolic: 'r-x', read: true, write: false, execute: true },
// other: { value: 5, symbolic: 'r-x', read: true, write: false, execute: true }
// }
// Generate chmod command
toCommand('755', 'myscript.sh');
// 'chmod 755 myscript.sh'
// Access common presets
console.log(PRESETS['755']);
// 'Owner full, others read+execute (rwxr-xr-x)'
fromNumeric(numeric)Converts numeric chmod (e.g., '755') to symbolic notation (e.g., 'rwxr-xr-x').
toSymbolic(symbolic)Converts symbolic notation to numeric chmod.
numericToSymbolic(num)Converts a single permission digit (0-7) to symbolic (e.g., 5 → 'r-x').
symbolicToNumeric(symbolic)Converts a single symbolic triplet to numeric (e.g., 'r-x' → 5).
toCommand(numeric, filename)Generates a chmod command string.
parsePermissions(numeric)Returns detailed breakdown of permissions for owner, group, and others.
PRESETSObject containing common permission presets with descriptions.
| Mode | Symbolic | Use Case |
|---|---|---|
| 777 | rwxrwxrwx | Everyone has full permissions (dangerous!) |
| 755 | rwxr-xr-x | Executable scripts, directories |
| 700 | rwx------ | Private directories |
| 644 | rw-r--r-- | Regular files, web content |
| 600 | rw------- | Private files, SSH keys |
| 444 | r--r--r-- | Read-only files |
| 400 | r-------- | Owner read-only |
Free Tools (82+):
| Tool | Description |
|---|---|
| base64-tool | Base64 encode/decode |
| cron-parser | Cron expression parser |
| csv-json-converter | CSV ↔ JSON converter |
| diff-checker | Text comparison (LCS) |
| docker-compose-parser | Docker Compose parser |
Unlock 20+ premium tools with a single payment:
💡 Pay with Crypto: BTC, ETH, USDT (TRC-20), SOL accepted
| Product | Description |
|---|---|
| Invoicely | Free invoice generator for freelancers |
| SnapOG | Free OG image generator (20+ templates) |
MIT
FAQs
Calculate Unix file permissions between numeric (755) and symbolic (rwxr-xr-x) notation. Essential tool for developers working with Linux/Unix systems.
The npm package devkits-chmod-calculator receives a total of 1 weekly downloads. As such, devkits-chmod-calculator popularity was classified as not popular.
We found that devkits-chmod-calculator demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.

Company News
Allow myself to introduce... myself.

Research
/Security News
A Twitch browser extension on Chrome and Firefox forwards users’ live OAuth session tokens through proxies controlled by a Russian bot service.