How do I change the ownership of files within my public_html folder?
Posted by - NA -, Last modified by Randi O on 26 October 2016 01:20 PM

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.

- Login to SSH (Secure Shell) ? This can be found in the welcome email.
- Then do: # cd /home/cPanelusername/public_html/
- 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.


Powered by TurnKey Internet]]>