Changing File Permissions in cPanel
Each file and directory(folder) in your account has permissions which control who can read, write and execute that file. When files are created, default permissions are assigned. Most users won't need to change permissions, but there are times when an update, instalaltion, etc. will require a file permissions change.
Viewing File Permissions
File permissions can be viewed and changed through either the cPanel File Manager or most FTP programs. We'll walk you through viewing and changing your permissions through the cPanel File Manger here.
Let's look at an example below:
In the image above you can see the permissions for each file listed on the right side of the screen. Probably the most important thing to keep in mind is that certain file types and folders should be set to particular permissons. Below are some examples:
public_html - 750
Folders - 755
CGI and Perl scripts - 755
.html .php and other Document Types - 644
What to do when permissions are set wrong
Incorrect file permissions can cause errors or even worse, allow unauthorized users to hack your site. Once an unauthorized user gains access, they can further alter more of your file permissions to make a site even more vulnerable. Remember that 777 permissions means that your file is readable, writeable and executable by the "world". This is not common, as it is a rare situation where a file needs to be written and executed by the "world." If you find files or folders with permissions that do not match the default permissons, it's usually best to change them to the recommended permissions.
How to change file permission settings
You can change the permissions for files through the cPanel File Manager or in your preferred FTP program. In File Manager, locate the file you wish to change the permissions for. Next, right click and select Change Permissions from the menu (or select the icon near the top of the screen).
This will bring up the Change Permissions window where you can adjust the settings as needed by checking the box by each permission you want for each level of access (User, Group and World).
Once you are finished editing your file permissions, click the "Change Permissions" button.
Keep in mind that you should only change file permissions if needed. You want to make sure that you aren't allowing more access to your files than is necessary, since that can leave your website vulnerable. If you have any questions or need additional assistance changing file permissions, please contact our support team and we'll be happy to help you.
Support Center Login
Social Media Login
2015-01-29 10:15 am
It does tell how to get access to or where cPanel situated.
2015-06-02 8:16 pm
I can´t fix the 500 error, and I can´t upload a new theme on worpdress its said "500 Error" also for active the Envalto WordPress Toolkit...
2015-06-02 9:06 pm
Can you provide us with your domain so we may try to troubleshoot your 500 error? Also have you checked your .htaccess file for any misspelled directives?
2015-06-03 6:19 pm
Apologies, but we need the exact url where your Wordpress folder is located. You have several listed in your account, so we're not really sure WHICH one is the correct location. Please provide the location so that we can investigate the issues further.
2015-08-06 12:33 am
I have asset managment system which is developed by me in plane php. when i call services on Server(LINUX). It cause 505 internal server error while its working fine on localhost.
Can any body help me. Should i swich from linux to window or any other salution?
2015-08-06 3:47 pm
Thank you for contacting us. 505 server errors are very general. Unfortunately, it is very difficult to troubleshoot custom developed PHP errors.
We are happy to help, but will need some additional information, such as a link to the error, and replication steps.
Please include any additional information that will help us duplicate your testing.