Kitloft

All tools / chmod reference

chmod 660 (rw-rw----)

The owner and group can read and write, and others have no access. Used for files a team or service group edits together.

chmod 660 in symbolic form
rw-rw----

Who can do what

ReadWriteExecute
Owner✓✓–
Group✓✓–
Others–––

Commands

Set the mode
chmod 660 my-file
# same thing in symbolic form:
chmod u=rw,g=rw,o= my-file

In ls -l output, a file with this mode shows as -rw-rw---- and a directory as drw-rw----.

Try a different mode

ReadWriteExecuteSpecial
Owner
Group
Others
Octal Symbolic
Command