chmod 711 — rwx--x--x
What chmod 711 allows, when to use it, and the calculator pre-filled with it — toggle any box to compare.
711
rwx--x--xOwner7
rwxGroup1
--xOthers1
--xSpecial bits
chmod 711 filenamechmod -R 711 /path/to/dirWhat this means
Owner can read, write, execute. Group can execute. Others can execute.
What chmod 711 allows
| Who | Read | Write | Execute |
|---|---|---|---|
| Owner | ✓ | ✓ | ✓ |
| Group | — | — | ✓ |
| Others | — | — | ✓ |
Others can enter the directory (and open files whose names they know) but cannot list it. Used for home directories on shared servers.
Commands
chmod 711 fileset it on one file or directorychmod u=rwx,g=x,o=x filethe same thing in symbolic formchmod -R 711 dir/recursively — careful: it applies to files and directories alikels -l filecheck the result: -rwx--x--x (a directory shows drwx--x--x)On a directory, read lets you list it, write lets you create and delete entries, and execute lets you enter it and open what's inside. That's why directories usually get 755 or 750 while files get 644 or 640.
Frequently asked
What does chmod 711 mean?
Owner: read, write, execute. Group: execute. Others: execute. In ls -l it shows as rwx--x--x.
What is the symbolic form of chmod 711?
chmod u=rwx,g=x,o=x file — it sets exactly the same permissions as chmod 711.
Common chmod permissions explained
chmod 755rwxr-xr-xchmod 644rw-r--r--chmod 777rwxrwxrwxchmod 600rw-------chmod 700rwx------chmod 775rwxrwxr-xchmod 664rw-rw-r--chmod 400r--------chmod 444r--r--r--chmod 750rwxr-x---chmod 640rw-r-----chmod 660rw-rw----chmod 770rwxrwx---chmod 666rw-rw-rw-chmod 711rwx--x--xchmod 500r-x------chmod 550r-xr-x---chmod 555r-xr-xr-xchmod 440r--r-----chmod 740rwxr-----chmod 760rwxrw----chmod 1777rwxrwxrwtchmod 2755rwxr-sr-xchmod 2775rwxrwsr-xchmod 4755rwsr-xr-x