How to fix or reset file and folder permissions

In the event that your file/directory permissions are changed under your account for any reason and you need to reset them to the correct defaults you can do this with a few clicks in the FileZilla FTP Client and most other popular FTP clients.

1) Connect to your site via FTP or FTPS in FileZilla. Navigate to your "/public_html" directory in the "Remote site" section. Select all directories and files inside there.

2) Right click on one of the selected items and choose "File permissions..." from the menu. Select "Recurse into subdirectories" and then enter "755" in the Numeric Value field. Choose the "Apply to directories only" option. Click OK to apply the changes and wait for the changes to be applied.

3) Repeat step 2, but this time enter "644" in the Numeric Value field (as shown in the image below) and select "Recurse into subdirectories" and then choose the "Apply to files only" option. Click OK to apply the changes.

4) Your permissions will now be set correctly. Note that you should never attempt to set your permissions to 777 even if documentation for a script says that you should, it's not required with the way that our server are configured.

You won't need to modify the permissions in your home directory, just the ones pertaining to your own content that you have created or uploaded to your account. Changes to permissions in your home directory can prevent your email and other account features from working.

IMPORTANT: Your /public_html directory permissions should be left at 750. Be sure not to modify or delete any of the content in your home directory.

Was this answer helpful?

 Print this Article

Also Read

Using Index Manager

This tutorial will teach about using the Index Manager. The Index Manager allows you to...

How to change cPanel date time zone

You can modify different php settings for your account, including timezone, using php.ini file....

How To Set Up A Cron Job

This tutorial is going to show you how to setup a cron job in cPanel the easy way. You can set a...

How to increase upload limit

How to increase memory limit, maximum execution time, maximum input time and maimum post...

Fix ‘Err Name Not Resolved’ in Windows

The number of internet error everyone is getting in Google Chrome is too damn high these days....

Our official partners