Setting permissionsHere you can find how to set file permissions for some of the most common web files and folders: pages, Perl and PHP scripts and data/config files, images and folders. Sometimes, incorrectly configured permissions may be a reason for "Forbidden" and "Internal Server Error" messages. In general, you need to have the following permissions for the files and folders on your site:
Below is a brief explanation of what these numbers mean.
So, for example, 664 (rw-rw-r) represent the following permissions - read/write for the owner, read/write for the group, and read for the public (everyone else). Note: File permissions higher than 775 are not necessary - both 755 and 775 will work. You can find detailed instructions on how to change file permissions using the Control Panel's File Manager section in the File Manager article from our online documentation. If you wish to change file permissions using your FTP software: 1. Log into your account and go to the directory where the files are located. 2. Highlight the file that you want to change permissions for. 3. Locate the "file permission" or "chmod" command on your FTP software (you may need to refer to the manual or help file) and apply the needed permissions. There should be three groups. Each group should have either checkboxes or a selection for the permission type. You need to type or select the desired permissions and click OK. Your FTP program will update the file permissions on the server. |