How to Fix Permissions on Your Hosting

How to Fix Permissions on Your Hosting

  1. Step 1: Access cPanel

    Log in to your cPanel account.
    In the main dashboard, locate and click on the "Terminal" option.




Step 2: Run the Command to Adjust Permissions

      Copy and paste the following command into the Terminal:

  1. find /home/$(whoami)/public_html -type d -exec chmod 755 {} \; && \ find /home/$(whoami)/public_html -type f -exec chmod 644 {} \; && \ find /home/$(whoami)/public_html -type f -name wkhtmltopdf* -exec chmod 755 {} \; && \ find /home/$(whoami)/public_html -type f -name zendid* -exec chmod 755 {} \; && \ find /home/$(whoami)/public_html -type f -name phantomjs* -exec chmod 755 {} \;
  2. Press Enter to execute the command.


Conclusion:  

Done! The permissions for the public_html folder have been successfully organized.

If you encounter any issues or have questions, contact technical support.


    • Related Articles

    • How to upload a firebird database to your hosting acount

      If you already have a Firebird database and want to upload it to your hosting account, just follow these steps: Step 1 1. Save/export your local database with the user that accesses your hosting. The password must contain exactly 8 characters, you ...
    • First steps with hosting: Registration

      To hire a hosting service is very easy. First you must choose a hosting plan. You can view Scriptcase hosting plans on the following page: https://scriptcase.host/en/scriptcase-host For other types of services visit: https://scriptcase.host/ Select a ...
    • How to check your hosting disk space

      The use of your disk space adds up to all files and data in your hosting account, this includes databases, website files, and email accounts. Warning emails will automatically be sent when it is close to reaching 100% of disk capacity. Where to check ...
    • How to access PhpMyAdmin in your hosting?

      When hosting with Scriptcase, phpMyAdmin is already installed as standard, you just need to access it through cPanel. See how to access cPanel : Aqui phpMyAdmin is a SQL database manager where you can make changes to your database. - Through cpanel ...
    • First steps with the Hosting: access

      When you receive the access information by email, you can do the access to the hosting service with the access information include in the email. You can access the hosting service panel (cPanel) in two ways.       1. The first one is by the client ...