chmod 750

chmod 750 gives rwxr-x---. Full access for the owner, read and enter for the group, nothing for others. Directories shared with one service.

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

Owner

Group

Others

Permissions

rwxr-x---

Command

chmod 750 file

Chmod Calculator

chmod 750 explained

Octal750
Symbolicrwxr-x---
Ownerread, write, execute
Groupread, execute
Othersno access
ls -l Shows-rwxr-x---
Commandchmod 750 file
Symbolic Commandchmod u=rwx,g=rx,o= file

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

Full access for the owner, read and enter for the group, nothing for others. Directories shared with one service.

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 750 mean?
Owner: read, write, execute. Group: read, execute. Others: no access. In letters: rwxr-x---.
Is chmod 750 safe?
Yes, for the uses described here. Nobody outside the classes given write access can change the file.
How do I apply 750 to every directory but not files?
find /path -type d -exec chmod 750 {} + (and use -type f for files only).
How do I set 750 recursively?
chmod -R 750 /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.