← Back to all tools

🔐 Chmod Calculator

Calculate Unix file permissions

755
rwxr-xr-x
Read (4)
Write (2)
Execute (1)
Owner
Group
Others
chmod 755 filename

Click to copy command

About Chmod Calculator

Calculate Unix file permissions with checkboxes. Convert between numeric and symbolic chmod notation. Free developer tool. This tool runs entirely in your browser — no data is sent to any server. It's fast, free, and works on any device.

How to Use Chmod Calculator

  1. Toggle the permission checkboxes for Owner, Group, and Others
  2. Select Read (r=4), Write (w=2), and Execute (x=1) for each
  3. View the numeric chmod value (e.g., 755) in real time
  4. See the symbolic representation (e.g., rwxr-xr-x)
  5. Copy the chmod command to use in your terminal

About Chmod Calculator

Unix file permissions control who can read, write, and execute files — a fundamental security mechanism in Linux, macOS, and all Unix-like systems. Each file has three permission groups: Owner (the file creator), Group (users sharing a group), and Others (everyone else). Each group can have Read (4), Write (2), and Execute (1) permissions, combined as a single octal digit. So chmod 755 means: owner gets full access (7=4+2+1), group and others can read and execute but not write (5=4+1). Understanding chmod is essential for server administration, web hosting (setting correct permissions for PHP/Python files), securing sensitive data, and debugging 'permission denied' errors. Common values: 644 for files, 755 for directories and scripts.

Frequently Asked Questions

What does chmod 777 mean?

It gives full read, write, and execute permissions to everyone — owner, group, and others. This is generally a security risk and should be avoided, especially on web servers where it could allow unauthorized file modification.

What's the difference between 644 and 755?

644 (rw-r--r--) means owner can read/write, others can only read — standard for regular files. 755 (rwxr-xr-x) adds execute permission — needed for directories (to enter them) and scripts (to run them).

Why do I get 'Permission denied'?

Your user lacks the necessary permission for the operation. Check file ownership (ls -la) and permissions. You may need to use sudo, change ownership (chown), or adjust permissions (chmod).

What's the sticky bit?

The sticky bit (chmod +t, numeric 1xxx) on a directory means only the file owner can delete their files, even if others have write permission. Used on /tmp to prevent users from deleting each other's temporary files.

Should I use numeric or symbolic chmod?

Numeric (chmod 755) sets all permissions at once — faster for known values. Symbolic (chmod u+x) modifies specific permissions — safer for targeted changes. Both achieve the same result; use whichever feels more natural.

Related Tools

Cron Parser → Crontab Generator → Hash Generator → Password Generator →