Fix permissions of all directories and files

To change all the directories to 755 (-rwxr-xr-x):

find /home/xxx/public_html -type d -exec chmod 755 {} \;

To change all the files to 644 (-rw-r--r--):

find /home/xxx/public_html -type f -exec chmod 644 {} \;
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

What Virtualisation Software do you use?

We currently offer Virtual Private Servers utilising OpenVZ virtualisation software. We may...

Do you offer 64-bit Operating Systems with your VPS packages?

Yes we do.  Our ordering system will allow you to choose which operating system, as well as...

Can I get TUN/TAP support for OpenVPN or Hamachi?

TUN/TAP devices are an "as needed" feature. Please contact us to allow TUN/TAP devices support to...

How long does it take for my VPS to be setup?

All VPS accounts are provisioned automatically after first payment is received. An email will be...

How do I turn off SELinux in CentOS/Redhat?

There is a terminal user interface (TUI) available in most installations of CentOS or RedHat....