Linux file permissions

chmod 751 (rwxr-x--x)

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

751numeric
rwxr-x--xsymbolic
7 · 5 · 1owner · group · others
Commands
chmod 751 filename chmod u=rwx,g=rx,o=x filename chmod -R 751 folder/ # apply to a folder and everything in it

Change any permission with the chmod calculator.

What chmod 751 means

WhoDigitLettersCan
Owner (user)7rwxread, write, execute
Group5r-xread, execute
Others1--xexecute

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

When to use 751

Programs others may run but not list or read.

Related permissions

Questions

What does chmod 751 mean?

chmod 751 sets the permissions to rwxr-x--x: the owner can read, write, execute, the group can read, execute and others can execute.

When should I use 751?

Programs others may run but not list or read.

What is 751 in symbolic form?

751 is rwxr-x--x (shown by ls -l as -rwxr-x--x for a file or drwxr-x--x for a folder). The symbolic chmod command is chmod u=rwx,g=rx,o=x file.