Skip to content

Developer tools

chmod Calculator

Tick the permissions you want to get the chmod number and command, or type a number like 755 to see what it allows.

ReadWriteExecute
Owner
Group
Everyone else
Special bits (setuid, setgid, sticky)

Common values

Symbolic

How to use the chmod Calculator

  1. 1

    Tick read, write and execute for the owner, the group and everyone else, or type a number like 644.

  2. 2

    Read the octal and symbolic values.

  3. 3

    Copy the chmod command, with -R to apply it to a whole folder.

Frequently asked questions

Which permissions should a Laravel site use?

Usually 644 for files and 755 for folders, with storage/ and bootstrap/cache/ writable by the web server user (775 if the server runs in your group). Never 777.

What do 755 and 644 mean?

7 = read+write+execute (4+2+1), 5 = read+execute, 4 = read only. The three digits are for the owner, the group and everyone else.

Why avoid 777?

It lets every user and process on the server change the files, so a single compromised script elsewhere can modify your site.

Embed this tool on your site

Paste this code into your page. It's free, with no sign-up, ads or cookies.

Preview

Please keep the "Powered by Dev-Talk" link.

Common chmod permissions

All chmod numbers

Get new articles in your inbox

Practical tutorials and deep dives, about once a week. No spam, unsubscribe anytime.

Privacy policy

Add DEV Talk to your Home Screen

  1. 1 Tap the Share button in Safari's toolbar.
  2. 2 Scroll down and tap Add to Home Screen.
  3. 3 Tap Add. Open it from the Home Screen to read like an app and to turn on notifications with the bell.

We use cookies to improve your experience and analyze traffic. By continuing, you agree to our Privacy Policy.