What does chmod 772 mean?


chmod 772

Chmod (change mode) is a UNIX/Linux command that you can use to change permissions on a file. Here we will explain how the chmod 772 UNIX/Linux command changes your file permissions. We start by color-coding the three digits in 772, like this, so it is easy to follow along:

772

The three digits refer to three different permissions:

7: Owner Permissions
7: Group Permissions
2: Everyone Permissions

Furthermore, chmod digits give the following kind of permissions:

1 = Execute
2 = Write
3 = Write & Execute
4 = Read
5 = Read & Execute
6 = Read & Write
7 = Read, Write & Execute

Now, when we put it all together, we can see what the chmod 772 command means and what it will do to your file permissions:

7: Owner can read, write and execute
7: Group can read, write and execute
2: Everyone can write


chmod 771
Here is the next chmod command on our list that we have explained for our fellow UNIX/Linux fans.

File Permissions Calculator
You may also be interested in our File Permissions Calculator for more information.






Copyright  |   Privacy Policy  |   Disclaimer  |   Contact