Fast2Host Logo

Hosting on Linux (cPanel)

Fix permissions and ownership issues with cpanel

The following commands will fix and ownership and permissions issues. Replace test with cpanel username.

 

chown test:test /home/test/public_html/* -R

for i in `find /home/test/public_html/* -type f`; do chmod 644 $i; done
for i in `find /home/test/public_html/* -type d`; do chmod 755 $i; done
chmod 755 /home/test/public_html/cgi-bin/ -R


chown test:test /home/test/public_html/* -R

 



Maintain peace of mind with 24/7 UK based support

Email any time or call 01480 26 00 00 014 80 26 00 00