First time here? Checkout the FAQ!
x

Got a Question ? We Got the Answers !

1
What is CHMOD 777 in Linux

Solved 2 Answers 56 Views Website

What is Chmod 777 ?. I just moved my site from Windows Hosting to Linux, Confused in file permissions, I read on many websites and tutorials to change file permission to chmod 777 but didn't got them what exactly this permission does. Can anyone help me understand this file permission thing?

What does chmod 777 mean? & how to use it? 

2 Answers

1
Best answer

This is a very common query , where people need to know about CHMOD 777 and other Linux permissions and Classes, Read my blog post What is CHMOD 777 for detailed understanding about CHMOD

answered Mar 13 by Dr-Hack
selected Mar 13 by Abdul Raziq
1Comments
commented Mar 13 by Abdul Raziq
The article is pretty explaining and amazing, Thank you and recommended to everyone.
1

0 – No permissions

1 – Execute

2 – Write

4 – Read

1+2 = 3 (exec + write)

2+4=6 (write + read)

and so on...

chmod 751 means...

7 is for user for which the file belongs (7 = 4 +2+1)

5 is for user group ( 5 = 4 + 1) so they can read and execute but not write

for rest of world it is 1 which means they can read it

Simple is that :)

answered Mar 1 by eirtaza
1Comments
commented Mar 13 by Abdul Raziq
Getting it now, Thank you.
...