• Latest
  • Trending
  • All
chmod Calculator: Visual Linux Permissions Tool (Octal, Symbolic, rwx) - cover image

chmod Calculator: Visual Linux Permissions Tool (Octal, Symbolic, rwx)

May 31, 2026
WordPress Security Hardening Checklist: 34 Scored Controls with Copy-Paste Fixes - cover image

WordPress Security Hardening Checklist: 34 Scored Controls with Copy-Paste Fixes

June 3, 2026
Maximizing Website Speed with Image Optimization Techniques for 2026 - cover image

Maximizing Website Speed with Image Optimization Techniques for 2026

June 3, 2026
SSL certificate renewal manager - 8 ACME clients, expiry calculator and monitoring - cover image

SSL Certificate Renewal Manager: certbot, acme.sh, lego, Caddy, cert-manager

June 3, 2026
CORS policy generator - 14 server and framework configs with presets and live security review - cover image

CORS Policy Generator: Headers + Nginx, Apache, Express, FastAPI, Django Config

June 3, 2026
netsh wlan command reference - 72 commands with example output and copy - cover image

netsh wlan Commands: Windows Wi-Fi Cheat Sheet (Show Password, Profiles, Hotspot)

June 2, 2026
Fix: ESXi Host Not Responding / Disconnected in vCenter (2026) - cover image

Fix: ESXi Host Not Responding / Disconnected in vCenter (2026)

June 1, 2026
VMware ESXi Purple Screen of Death (PSOD): Diagnose and Recover (2026) - cover image

VMware ESXi Purple Screen of Death (PSOD): Diagnose and Recover (2026)

June 1, 2026
VMware PowerCLI command generator cover

VMware PowerCLI Command Generator: VM, Snapshots, Networking, esxcli

June 1, 2026
dd Command Generator: Write ISO to USB, Image Disks, Wipe Drives - cover image

dd Command Generator: Write ISO to USB, Image Disks, Wipe Drives

June 1, 2026
SSH Tunnel Command Generator: Local, Remote and Dynamic Forwarding - cover image

SSH Tunnel Command Generator: Local, Remote and Dynamic Forwarding

June 1, 2026
sed Command Generator: Build Substitute, Delete and Print Commands - cover image

sed Command Generator: Build Substitute, Delete and Print Commands

May 31, 2026
VMware Workstation and Hyper-V on the Same Machine (2026 Fix) - cover image

VMware Workstation and Hyper-V on the Same Machine (2026 Fix)

May 31, 2026
  • Online Tools
  • Network Tools
  • Developer Tools
  • Security Tools
Wednesday, June 3, 2026
  • Login
People Are Geek
  • Online Tools
  • Network Tools
  • Developer Tools
  • Security Tools
No Result
View All Result
People Are Geek
No Result
View All Result
Home Developer Tools

chmod Calculator: Visual Linux Permissions Tool (Octal, Symbolic, rwx)

by People Are Geek
May 31, 2026
in Developer Tools, Online Tools
0
chmod Calculator: Visual Linux Permissions Tool (Octal, Symbolic, rwx) - cover image
0
SHARES
3
VIEWS
Share on FacebookShare on Twitter

Visual Linux permissions calculator

Click the read, write and execute boxes for owner, group and other to build a Linux permission set, and watch the octal value, the symbolic rwx string and the ready-to-run chmod command update instantly. Type an octal value to go the other way, toggle the setuid, setgid and sticky bits, and read a plain-English explanation of exactly who can do what. Everything runs locally in your browser.

WhoReadWriteExecute
Owneru
rread
wwrite
xexec
Groupg
rread
wwrite
xexec
Othero
rread
wwrite
xexec
setuid4xxx
setgid2xxx
sticky1xxx
Octal
755
rwxr-xr-x
3 or 4 digits (e.g. 755 or 4755)
DigitApplies toOctalSymbolicMeaning

What a chmod calculator does

Every file and directory on a Linux or Unix system carries a permission set that controls who may read it, write to it, or execute it. Those permissions are expressed two ways: a symbolic string such as rwxr-xr-x that you see in the output of ls -l, and a three or four digit octal number such as 755 that you pass to the chmod command. A chmod calculator translates between the two instantly, so instead of doing the binary arithmetic in your head you click the boxes for the access you want and copy the exact command. It also works in reverse: paste an octal value and the calculator shows you precisely who can do what.

The three permission classes are owner (the user who owns the file, shown as u), group (the file’s group, shown as g) and other (everyone else, shown as o). Each class has three independent bits: read (r, value 4), write (w, value 2) and execute (x, value 1). Add the values within a class to get its octal digit. Read plus write plus execute is 4 + 2 + 1 = 7; read plus execute is 4 + 1 = 5. That is why rwxr-xr-x is written 755.

How octal, symbolic and chmod commands relate

The octal notation is just the three class digits side by side, optionally preceded by a fourth digit for the special bits. The calculator builds all three representations from the same internal state so they always agree:

  1. Pick the bits. Each box you toggle flips one permission bit for one class. The octal digit for that class recalculates immediately.
  2. Read the octal. Owner, group and other digits are concatenated. If any special bit is set, a leading digit appears, so 755 becomes 4755 when setuid is on.
  3. Copy the command. The numeric form chmod 755 file is the most common; the symbolic form chmod u=rwx,g=rx,o=rx file says the same thing and is handy in scripts where you want to set absolute permissions explicitly.

The special bits: setuid, setgid and sticky

Beyond the nine standard bits, three special bits change execution and directory behaviour. They occupy the optional leading octal digit.

  • setuid (4000). On an executable file, the program runs with the privileges of the file’s owner rather than the user who launched it. This is how passwd can edit /etc/shadow. In the symbolic string it replaces the owner’s execute bit with s (or S if execute is off).
  • setgid (2000). On an executable, the process runs with the file’s group. On a directory, new files inside inherit the directory’s group instead of the creator’s primary group, which is invaluable for shared project folders. It shows in the group execute position as s or S.
  • sticky bit (1000). On a directory such as /tmp, it means only the owner of a file (or root) can delete or rename it, even when others can write to the directory. It shows in the other execute position as t or T.

Common permission sets and when to use them

  • 644 (rw-r--r--) – the default for regular files: owner can edit, everyone can read. Use for documents, HTML, config that is not secret.
  • 755 (rwxr-xr-x) – the default for directories and executables: owner has full control, others can enter and run. Use for scripts, binaries, public web directories.
  • 600 (rw-------) – private file: only the owner can read or write. Use for SSH private keys, credential files, .env files.
  • 700 (rwx------) – private directory: only the owner can enter. Use for ~/.ssh and per-user secret folders.
  • 666 and 777 – world-writable. Almost always a mistake. A world-writable file or directory lets any local user tamper with your data. Reach for a group with 2775 instead.

Privacy and how this tool runs

This calculator is entirely client-side. The permission math, the octal conversion and the command strings are all computed by JavaScript in your browser. Nothing about the file names you type or the permissions you choose is sent to a server, logged or stored. You can use it on an air-gapped machine once the page has loaded, and you can paste internal paths or production file names without exposing them.

Frequently asked questions

What does chmod 755 mean?

It sets read, write and execute for the owner (7 = 4+2+1), and read and execute for group and other (5 = 4+1). The symbolic form is rwxr-xr-x. It is the standard for directories and executable scripts: the owner can change them, everyone else can use them but not modify them.

What is the difference between chmod 644 and 755?

644 (rw-r--r--) grants no execute bit, which is correct for ordinary files like text, HTML or images. 755 (rwxr-xr-x) adds the execute bit for all three classes, which a directory needs so users can enter it and a script needs so it can run. Use 644 for files, 755 for directories and programs.

How do I convert symbolic permissions to octal?

Split the nine-character string into three groups of three. Within each group, read is 4, write is 2, execute is 1; sum the ones that are present. rwxr-xr-x becomes 7, 5, 5. The calculator above does this automatically when you toggle the boxes, and in reverse when you type an octal value.

What is the leading fourth digit in chmod 4755?

It is the special-bits digit. 4 is setuid, 2 is setgid, 1 is the sticky bit, and they add just like the standard bits. 4755 means setuid plus 755. You only need the fourth digit when at least one special bit is set; otherwise the three-digit form is equivalent.

Why should I avoid chmod 777?

777 grants read, write and execute to everyone, including other local users and any process running as a different account. It is a frequent cause of security incidents because any user or compromised service can overwrite the file or, on a script, change what it does. If you need shared write access, create a group, add the members and use 2775 on the directory so the group is inherited.

Does chmod -R apply to files and directories the same way?

Recursive chmod -R 755 applies the same mode to every file and directory under the path, which is rarely what you want because files do not need the execute bit. A safer pattern is to set directories and files separately with find: find path -type d -exec chmod 755 {} + and find path -type f -exec chmod 644 {} +.

Related tools and resources

Building Linux commands by hand is error-prone. These companion tools cover the other commands sysadmins reach for daily.

Cron Expression Generator Firewall Rule Helper Kernel Hardening Checklist Ubuntu Server Hardening WireGuard VPN Guide
ShareTweetPin
People Are Geek

People Are Geek

People Are Geek

Copyright © 2017 JNews.

Navigate Site

  • About PeopleAreGeek
  • All Tools and Articles
  • Contact
  • Cookie Policy
  • Hyper-V Hub: Tools, Error Fixes and Lab Guides
  • Linux Hub: Cross-Distro Reference, Articles, Tools
  • Page de test Codex
  • Privacy Policy
  • Sample Page
  • Terms of Service
  • VMware vSphere & ESXi Hub: Tools, Error Fixes and Guides

Follow Us

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
No Result
View All Result
  • Online Tools
  • Network Tools
  • Developer Tools
  • Security Tools

Copyright © 2017 JNews.