1. Home
  2. References
  3. Technical Advice
  4. How to Change Rights Recursively via cPanel or FileZilla

How to Change Rights Recursively via cPanel or FileZilla

In this article, we will look at how to change file and folder permissions recursively via cPanel and FileZilla.

cPanel

In cPanel, you can use the “terminal” to run these 2 commands:

**** Check the path of the domain to be corrected and use the cd (change directory) command to enter it.****

1- CD public_html


2- launch find

find . -type f -print0 | xargs -0 chmod 0644
find . -type d -print0 | xargs -0 chmod 0755

FilleZilla

  1. You need to connect to your FTP server using FileZilla. Enter the host (your domain if hosted at PlanetHoster or the server IP), your user and your password.
  1. Right-click on the folder whose rights you wish to change recursively and choose File permissions.
  1. In the numerical value box, enter “755” with the option Apply only to folders for folders and enter “644” with the option Apply only to files for files.
Updated on 19 August 2024

Was this article helpful?

Related Articles