All tools

Unix chmod Calculator

Octal and symbolic file permissions.

Owner

6 (rw-)

Group

4 (r--)

Other

4 (r--)
chmod
644
rw-r--r--

Common patterns

  • 755 - executable script (rwxr-xr-x)
  • 644 - regular file (rw-r--r--)
  • 700 - private (rwx------)
  • 600 - private file (rw-------)
  • 777 - everyone everything (rarely correct)
  • 444 - read-only for all (r--r--r--)

Unix permissions: 4 read + 2 write + 1 execute, applied to owner / group / other. 755 is the default for executables. 644 for regular files. Avoid 777 - it lets anyone overwrite the file.

About

Tick the read, write, execute permissions for owner, group, and other. The tool returns the chmod octal (755) and symbolic (rwxr-xr-x) forms with a copy-ready command.

How to use

  1. Tick the boxes you want.
  2. Copy chmod 755 file (or your value).

FAQ

What about setuid / setgid / sticky?+

Those add a fourth digit (4 setuid, 2 setgid, 1 sticky) prepended to the standard three. This calculator covers the standard 755-style permissions.