Linux file permissions

chmod 500 (r-x------)

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

500numeric
r-x------symbolic
5 · 0 · 0owner · group · others
Commands
chmod 500 filename chmod u=rx,g=,o= filename chmod -R 500 folder/ # apply to a folder and everything in it

Change any permission with the chmod calculator.

What chmod 500 means

WhoDigitLettersCan
Owner (user)5r-xread, execute
Group0---no access
Others0---no access

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

When to use 500

Read-only program for its owner only.

Related permissions

Questions

What does chmod 500 mean?

chmod 500 sets the permissions to r-x------: the owner can read, execute, the group can no access and others can no access.

When should I use 500?

Read-only program for its owner only.

What is 500 in symbolic form?

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