Home Uncategorized What are Chmod Settings?

What are Chmod Settings?

0
What are Chmod Settings?
What are Chmod Settings?

I wanted to explain in detail this issue that web designers, especially content management system users such as joomla, face.. While installing web systems, we encounter warnings such as “folder chmod settings should be like this,
file chmod settings should be like this”. Many of you make the said settings, but we don’t know what they mean.. Here, I tried to make an understandable explanation to make up for this deficiency.

CHMOD comes from the English word “Change Mode”.. Means “Type Change” in Turkish. From a web perspective, chmod means giving a file on the server permission to be written, read, and executed.. When we upload any file to the server, we offer users one or more of these three options.. In short, we can call chmod the permission system for any file.

Let’s briefly explain the file chmod values ​​as follows;

chmod value consists of 3 numbers: (Example: 444, 644, 755 etc.)
First digit here indicates Administrator permission
Second digit is for groups, For example Moderator group is permission
Third digit is permission for normal users.

The numbers here are of course not given well. Each of the digits to be used here, namely the first, second and third, has a meaning.. Above we have indicated the meanings of the steps. Now let’s explain what the digits in the digits mean:

These digits use numbers 1 to 7 (including 1 and 7) and each has a meaning:

1 – executable,
2 – writable,
3 – both writable and executable,
4 – readable,
5 – readable and executable,
6 – both readable and executable can also be written,
7 – both readable, writable and executable.

After giving this information, let’s examine what the most used ones mean:

chmod 444: Read only by the 3 groups mentioned above,
chmod 644: Writable by Admin, readable by two other groups,
chmod 755: Admin Readable, writable, and executable by both groups, readable and executable by the other two groups,
chmod 777: Readable by all three groups r is both writable and executable. There are no restrictions here and it is a dangerous situation. Not recommended.

LEAVE A REPLY

Please enter your comment!
Please enter your name here