Skip to content
HQ8T

Chmod Calculator

Linux file permissions as numbers and rwx.

ReadWriteExecute
Owner
Group
Others

Symbolic

-rwxr-xr-x

$ chmod 755 file.sh

How to use

  1. 1Tick the permissions for owner, group and others.
  2. 2Or type a number like 644 to see what it means.
  3. 3Enter your file name and choose -R for folders if needed.
  4. 4Copy the ready chmod command.

Frequently asked questions

What does chmod 755 mean?

The owner can read, write and execute; group and others can read and execute. It's common for folders and scripts.

What does chmod 644 mean?

The owner can read and write; everyone else can only read. It's the usual setting for web files.

How are the numbers worked out?

Read = 4, write = 2, execute = 1. Add them for each of owner, group and others: rwx = 7, r-x = 5, r-- = 4.

Why is 777 unsafe?

It lets every user change or replace the file. On a web server that can let attackers modify your site.