All files and directories on Linux computers have access permissions that tell the operating system how to handle access requests. There are three basic access permissions:
These three access permissions are then set for three types of user groups:
You can determine the full permission settings for a file or directory by combining access permissions and access types. For example, a file with read and write permissions for the user has a permissions value of 6. (The read value of 4 plus the write value of 2 equals 6.) If that file also has read permissions for the group and the world, those permissions values are 4. So the file’s total permissions value is represented numerically as 644.
A web server must be able to access your site’s files in order to send them to a user’s web browser. Therefore, your files must have the correct file permissions set for your web site to work properly.
The following tables show the correct permission settings for various file types on your web site:
To change the permissions for a file or directory, follow these steps:
For more information about file permissions, please visit http://en.wikipedia.org/wiki/Filesystem_permissions#Traditional_Unix_permissions.
Office 154 182-184 High Street North, East Ham
+44 7537 107 846
Switch The Language