chmod 550 — what r-xr-x--- means

550 r-xr-x---

Owner and group can read and execute, but nobody can write; others have no access.

Note: this grants group or shared write access — fine for team directories, but make sure that is what you intend.

Permission breakdown

When to use 550

Common mistakes & gotchas

550 vs the alternatives

Set it with chmod

Apply this permission to a single file:

chmod 550 filename

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

chmod -R 550 directory/

The same thing in symbolic form:

chmod u=rx,g=rx,o= filename

Frequently asked questions

What does chmod 550 mean?

550 sets r-xr-x---: owner gets read and execute, group gets read and execute, others get nothing. No one — not even the owner — has write permission, so the file or directory is read-only and runnable by owner and group only.

Why would I remove the owner's write bit with 550?

To make the file tamper-resistant. With 550 a stray editor save, a buggy script, or a compromised process running as the owner can't overwrite it. When you genuinely need to change it, run chmod u+w file, edit, then chmod 550 file again.

Can the group edit a 550 file?

No. The group gets r-x — read and execute but not write. Group members can run the script or read the data, but to modify it they'd need the owner (after restoring write) or root.

What's the difference between 550 and 750?

Only the owner's write bit. 750 is rwxr-x--- (owner can write), 550 is r-xr-x--- (owner cannot). Use 750 while you still maintain the file, 550 once you want it locked against accidental changes.

Other common permissions

Or build any permission with the interactive chmod calculator.