Chat with us, powered by LiveChat What permissions should be set on files and folders? - Synergy Wholesale

What permissions should be set on files and folders?

Category: File Management

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 a chmod.

Typical Permission Sets

Typically files within ones /public_html directory should be chmodded to 644 and folders 755 under the Synergy Wholesale cPanel hosting environment; the typical exception to this is configuration files (such as wp-config.php) where consideration should be made to chmod 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




400 :: r—— 6 – Owner has read permissions;0 – Group has no permissions;0 – Others have no permissions. Allows only the owner to read the file or folder.
644 :: r-wr–r– 6 – Owner has read and write permissions;4 – Group has only read permissions;4 – Others have only read permissions. Allows only the owner to make changes to the file or directory.
755 :: rwxr-xr-x 7 – Owner has read, write, and execute;5 – Group has read and execute permissions;5 – Others have read and execute permissions. Required to install some scripts or to browse to a required directory.
777 :: rwxrwxrwx 7 – Owner has read, write, and execute permissions;5 – Group has read, write, and execute permissions;5 – Others have read, write, and execute permissions. 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.


More Info Request
  • Select All
  • Sample Pricing Guide
    Due to the nature of our services as a wholesale provider, we do restrict full pricing from being released. You can request a sample pricing guide to give you some insight as to what you can look forward to by becoming a partner with Synergy Wholesale.
  • API Information
  • Whitelabel Billing Information
  • Migration Process
* Required
Thank you for submitting a More Info Request!
An email will be sent to you shortly with the requested information.
Begin your 7-day free-trial today!
Get Started