Within Linux file systems all stored files and folders are assigned traditional unix permissions; these tell the server which users and groups can read, write and execute each individual item. Setting these appropriately is key to ensure data remains secure. These permissions may be set through use of either file manager in cPanel, FTP Software or SSH (Advanced Users).
Typical Permission Sets
Typically files within ones /public_html directory should be set to 644 and folders 755 under the Zuver cPanel hosting environment; the typical exception to this is configuration files (such as wp-config.php) where consideration should be made to set those to a lower value such as 400 to prevent unauthorised reading and writing of the file. An explanation of the typical permission sets are below.
For information on setting file and folder permissions please see the article “How do I set permissions on files and folders?”.
Common Permission Types
Value: 400 :: r——
Description: 4 – Owner has read permissions; 0 – Group has no permissions; 0 – Others have no permissions.
Information: Allows only the owner to read the file or folder.
Value: 644 :: r-wr–r–
Description: 6 – Owner has read and write permissions; 4 – Group has only read permissions; 4 – Others have only read permissions.
Information: Allows only the owner to make changes to the file or directory.
Value: 755 :: rwxr-xr-x
Description: 7 – Owner has read, write, and execute; 5 – Group has read and execute permissions; 5 – Others have read and execute permissions.
Information: Required to install some scripts or to browse to a required directory.
Value: 777 :: rwxrwxrwx
Description: 7 – Owner has read, write, and execute permissions; 5 – Group has read, write, and execute permissions; 5 – Others have read, write, and execute permissions.
Information: Should never be used, as anyone can modify these files at any time. This permission value will typically fail in our hosting environment and is not recommend
If you think you’ve made a mistake with permissions then you can use our Permissions Fixer in MyZuver.
This will set a all file permissions under the public_html folder to 644 and all folder permissions under the public_html folder to be 755.
You’ll even receive a handy email to let you know when it’s completed as this process can sometimes take awhile depending on how many permissions it has to fix.
It can be found in MyZuver >> Web Hosting >> Manage >> Click on the hosting you want to fix the permissions on >> Permissions Fixer.