Linux file permissions

chmod 660 (rw-rw----)

Owner: read, write · Group: read, write · Others: no access

660numeric
rw-rw----symbolic
6 · 6 · 0owner · group · others
Commands
chmod 660 filename chmod u=rw,g=rw,o= filename chmod -R 660 folder/ # apply to a folder and everything in it

Change any permission with the chmod calculator.

What chmod 660 means

WhoDigitLettersCan
Owner (user)6rw-read, write
Group6rw-read, write
Others0---no access

Each digit is the sum of read (4), write (2) and execute (1).

When to use 660

Files edited by owner and group only.

Related permissions

Questions

What does chmod 660 mean?

chmod 660 sets the permissions to rw-rw----: the owner can read, write, the group can read, write and others can no access.

When should I use 660?

Files edited by owner and group only.

What is 660 in symbolic form?

660 is rw-rw---- (shown by ls -l as -rw-rw---- for a file or drw-rw---- for a folder). The symbolic chmod command is chmod u=rw,g=rw,o= file.