chmod 775

chmod 775 gives rwxrwxr-x. Full access for the owner and group, read and execute for others. Shared directories that others may still read.

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

Owner

Group

Others

Permissions

rwxrwxr-x

Command

chmod 775 file

Chmod Calculator

chmod 775 explained

Octal775
Symbolicrwxrwxr-x
Ownerread, write, execute
Groupread, write, execute
Othersread, execute
ls -l Shows-rwxrwxr-x
Commandchmod 775 file
Symbolic Commandchmod u=rwx,g=rwx,o=rx file

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

Full access for the owner and group, read and execute for others. Shared directories that others may still read.

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