Typical Permission Sets
Typically, files within a /public_html directory should be set to 644 and folders 755 under the VentraIP 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 unauthorized reading and writing of the file. These permissions may be set through file manager in cPanel, FTP Software, or SSH (Advanced Users). 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------
- 4 – Owner has read permissions;
- 0 – Group has no permissions;
- 0 – Others have no permissions.
644 :: r-wr–r–
- 6 – Owner has read and write permissions;
- 4 – Group has only read permissions;
- 4 – Others have only read permissions.
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.
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.