How to Fix Permissions on Your Hosting

Á

Álvaro Moura

Last updated on Jul 13, 2026

  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.