How do I change the ownership of files within my public_html folder?

 

This is quite simple. However, you must know the exact syntax, and this has to be done via SSH only, as you won't be able to make these changes via FTP or cPanel directly.

  1. Login to SSH (Secure Shell) – This can be found in the welcome email.
  2. Then do: # cd /home/cPanelusername/public_html/
  3. Now, do this: # chown –R cPanelusername:cPanelusername *

The * means that anything under the folder public_html will have its ownership changed to the new username that you have indicated above. Please remember to change "cPanelusername" with the REAL username of your cPanel hosting account.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to change a cPanel password through WHM?

  From time to time, account holders lose their passwords, and need to rest them. Using...

How to modify an account's disk quota in WHM?

  You can use Quota Modification directly from the WHM to affect on how much disk space...

Can I modify the suspended account page?

  Feel free to modify the suspended account page it to your liking. Follow these steps to...

How do I list the suspended accounts in WHM?

  If you want to list the suspended accounts, please do the following: Login to your WHM...

How to get info on bandwidth usage from WHM?

  This process is simple. Simply follow the below outlined instructions: Log to the WHM...

Powered by WHMCompleteSolution