Skip to content
zefıly

chmod permission calculator

Choose who may read, write and run a file, then see the same permissions as octal digits (755), symbolic letters (rwxr-xr-x) and the chmod command to run on the server.

Read Write Execute
Owner
Group
Others
Special
Quick set:

Three or four digits from 0 to 7, such as 755

Nine letters, such as rwxr-xr-x

Command

    

Runs in your browser. Nothing you type here is sent to Zefily or stored.

How to use it

  1. 1

    Tick the read, write and execute boxes for the owner, the group and everyone else, or type an octal value such as 644.

  2. 2

    Check the symbolic form and the octal form. They always show the same permissions.

  3. 3

    Copy the chmod command, check the path, and run it on the server as the file owner or root.

Questions

What do the digits in 755 and 644 mean?

Each digit adds up read (4), write (2) and execute (1) for one group of users: owner, group, then others. 755 gives the owner full access and lets everyone read and run. 644 lets everyone read, while only the owner can write.

What do setuid, setgid and sticky do?

They are the optional first digit. Setuid and setgid make a program run with the rights of its owner or group. The sticky bit on a directory lets only the owner of a file delete it, as on /tmp. Most web files do not need them.

Which permissions should a website use?

Usually 644 for files and 755 for folders. Avoid 777, which lets any user on the server change the file. Keep files that hold secrets, such as .env, at 600 so only the owner can read them.

Does this tool change files on my server?

No. It calculates the permissions and writes the command text. Nothing is sent anywhere. You run the command yourself on the server, after you check the path.

Zefily does this for you on your servers

Connect a server and Zefily sets up cron jobs, permissions, redirects, PHP pools and robots rules for your sites, then keeps them in place.

Start free

Black Friday & Cyber Monday

Before you go: lifetime plans are on sale

Pay once for a lifetime plan, or get 30% off the first year of any yearly plan.

Only 100 lifetime plans per plan. When they are gone, they are gone.

See the campaign

Amazing November

See the campaign →