chmod 711 — what rwx--x--x means

711 rwx--x--x

The owner has full access; the group and others can execute (enter) but cannot read the listing.

Permission breakdown

When to use 711

Common mistakes & gotchas

711 vs the alternatives

Set it with chmod

Apply this permission to a single file:

chmod 711 filename

Or apply it recursively to a directory and everything inside it:

chmod -R 711 directory/

The same thing in symbolic form:

chmod u=rwx,g=x,o=x filename

Frequently asked questions

What does chmod 711 mean?

chmod 711 sets rwx--x--x: the owner gets full read/write/execute, while group and others get execute only. On a directory that means they can traverse into it to reach a known path but cannot list its contents.

Why is 711 common for home directories on web servers?

The web server (e.g. www-data) must enter your home to reach public_html and serve files, but it shouldn't be able to list your private home contents. 711 grants exactly that: traverse yes, browse no.

Can someone read a file inside a 711 directory?

Only if they already know the exact filename and the file itself is readable to them. 711 blocks ls enumeration, not access to a known, world-readable file. Protect contents with the file's own permissions.

What's the difference between execute on a directory and on a file?

On a directory, the execute bit means 'may traverse/enter' (independent of read, which means 'may list'). On a file it means 'may run as a program.' 711 exploits this split: directory entry without directory listing.

Other common permissions

Or build any permission with the interactive chmod calculator.