Linux file permissions

chmod 444 (r--r--r--)

Owner: read · Group: read · Others: read

444numeric
r--r--r--symbolic
4 · 4 · 4owner · group · others
Commands
chmod 444 filename chmod u=r,g=r,o=r filename chmod -R 444 folder/ # apply to a folder and everything in it

Change any permission with the chmod calculator.

What chmod 444 means

WhoDigitLettersCan
Owner (user)4r--read
Group4r--read
Others4r--read

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

When to use 444

Read-only file for everyone.

Related permissions

Questions

What does chmod 444 mean?

chmod 444 sets the permissions to r--r--r--: the owner can read, the group can read and others can read.

When should I use 444?

Read-only file for everyone.

What is 444 in symbolic form?

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