chmod 711

chmod 711 gives rwx--x--x. The owner has full access; others can enter the directory but not list it. Used for home directories on shared hosting.

  • Free
  • No Sign-Up
  • Runs in Your Browser

Owner

Group

Others

Permissions

rwx--x--x

Command

chmod 711 file

Chmod Calculator

chmod 711 explained

Octal711
Symbolicrwx--x--x
Ownerread, write, execute
Groupexecute
Othersexecute
ls -l Shows-rwx--x--x
Commandchmod 711 file
Symbolic Commandchmod u=rwx,g=x,o=x file

Each digit of 711 is one class of user and adds up read (4), write (2) and execute (1). 7 for the owner is read, write, execute; 1 for the group is execute; 1 for the others is execute.

The owner has full access; others can enter the directory but not list it. Used for home directories on shared hosting.

On a directory, execute means permission to enter it and reach files inside; read means permission to list it. That is why directories usually have execute wherever they have read.

Questions

What does chmod 711 mean?
Owner: read, write, execute. Group: execute. Others: execute. In letters: rwx--x--x.
Is chmod 711 safe?
Yes, for the uses described here. Nobody outside the classes given write access can change the file.
How do I apply 711 to every directory but not files?
find /path -type d -exec chmod 711 {} + (and use -type f for files only).
How do I set 711 recursively?
chmod -R 711 /path. Be careful: this gives files and directories the same mode, which is rarely what you want; the find command above is safer.

Run servers for other people?

Frabs stops the abuse their VMs send out, and keeps your network off blocklists.