chmod 711 — rwx--x--x

711 = rwx--x--x: owner full, others execute only.

Updated

711
Octal
rwx--x--x
Symbolic
Safe
Security

What does chmod 711 mean?

chmod 711 gives owner full, others execute only. Others can enter the directory (traverse it) but cannot list its contents. Used for home directories on shared hosting so the web server can reach ~/public_html without listing private files.

WhoDigitSymbolicPermissions
Owner (user)7rwxread, write, execute
Group1--xexecute
Others1--xexecute

Each digit is the sum of read (4), write (2) and execute (1). In ls -l the file shows as -rwx--x--x and a directory as drwx--x--x.

How to use chmod 711

# one file or directory
chmod 711 filename

# the same permissions in symbolic form
chmod u=rwx,g=x,o=x filename

# a directory and everything inside it
chmod -R 711 directory/

# only directories (keep files separate)
find path/ -type d -exec chmod 711 {} +

Need a different combination? Tick the boxes in the chmod calculator to get the octal and symbolic values instantly.

Chmod calculatorToggle read, write and execute for owner, group and others to build any permission.
Open the calculator

Frequently asked questions

What does chmod 711 do?
It sets the permissions to rwx--x--x: the owner gets read, write, execute, the group execute and others execute.
What is 711 in symbolic notation?
rwx--x--x, or chmod u=rwx,g=x,o=x as a symbolic chmod command.
Is chmod 711 safe?
Yes, 711 does not give write access to other users.