Linux file permissions

chmod 655 (rw-r-xr-x)

Owner: read, write · Group: read, execute · Others: read, execute

655numeric
rw-r-xr-xsymbolic
6 · 5 · 5owner · group · others
Commands
chmod 655 filename chmod u=rw,g=rx,o=rx filename chmod -R 655 folder/ # apply to a folder and everything in it

Change any permission with the chmod calculator.

What chmod 655 means

WhoDigitLettersCan
Owner (user)6rw-read, write
Group5r-xread, execute
Others5r-xread, execute

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

When to use 655

Unusual: owner can read and write, others can read and execute.

Related permissions

Questions

What does chmod 655 mean?

chmod 655 sets the permissions to rw-r-xr-x: the owner can read, write, the group can read, execute and others can read, execute.

When should I use 655?

Unusual: owner can read and write, others can read and execute.

What is 655 in symbolic form?

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