What does chmod 750 mean? Owner control with group access explained
By TechCompare · Updated · How we check
chmod 750 sets the mode to rwxr-x---: full access for the owner, read and execute for the group, and no access for everyone else.
In ls -l, a folder with this mode shows as drwxr-x---. It suits a project folder or a script that one team uses, where the rest of the system has no reason to see it. It's the step you reach for when a folder locked to its owner at 700 needs to open up to one group, and nothing more.
How this is calculated
The three digits set the owner, group and others in that order. The owner's 7 is 4+2+1, which means read, write and execute. The group's 5 is 4+1, read and execute with no write. Others get 0, which means no bits at all.
On a folder, read lets the group list file names, and execute lets it enter the folder and reach files by name. Neither bit lets a group member add, rename or delete anything, because those changes need write on the folder itself. Others get none of this, so they can't even see what's inside.
Next to its neighbors, 750 is the middle step. Mode 700 gives rwx------ and shuts the group out completely. Mode 755 gives rwxr-xr-x and lets everyone read and enter. Mode 750 sits in the middle: the group gets in, and the public doesn't.
Verdict
Use 750 for a folder or script that one group should work with and nobody else should see. Skip it when a web server user or another account outside the group has to read the files, since those accounts get nothing at all. If the group also needs to write, 775 is the mode to look at, because 750 gives the group no write access.
More CHMOD scenarios
Related guides
Frequently asked questions
What does chmod 750 mean?
ls -l, a folder shows as drwxr-x---, and a script shows as -rwxr-x---.What's the difference between chmod 750 and 755?
rwxr-xr-x, so others can read and enter or run. 750 is rwxr-x---, which gives others nothing. The owner and the group get the same access under both modes.Can a group member delete files in a 750 folder?
Who can run a script with chmod 750?
chmod 750 backup.sh works for the whole group, as long as the group can reach the folder it's in.Related tools
Subnet Calculator
Calculate network address, broadcast address, and usable IP ranges for IPv4/IPv6.
Use toolJSON Formatter
Validate, format, and minify JSON. Browse it as a tree, run JSONPath queries, compare two documents, or validate against a JSON Schema.
Use toolUnix Timestamp
Convert between Unix timestamps and human-readable dates.
Use tool