База знаний

Default permissions on folders and PHP files.

We currently run Litespeed Web Server which runs PHP as the user so files and folders should have the permissions of:

  • Folders: 755 (drwxr-xr-x)
  • Files: 644 (-rw-r--r--)

Even if the instructions for the software state to change the permissions of files or folders to 777 or 666 don't do it. It's a security risk and not needed in our environment.

If you accidently have changed the permissions on your account and your website no longer works please contact the support department to fix the permissions on your account.
  • 0 Пользователи нашли это полезным
Помог ли вам данный ответ?

Связанные статьи

"Please wait while your request is being verified..." message sho...

Our cloud web hosting, semi-dedicated, and reseller web hosting plans utilize Imunify360 WAF (web...

Accessing SpamExperts and creating separate SpamExperts users

All cloud web hosting, semi-dedicated, and reseller hosting services include enterprise level...

Can Hawk Host host international domains?

We can host any TLD that's currently supported by ICANN. We run a clustered DNS setup in...

Can I add more RAM/memory to my hosting account?

RAM/memory upgrades are available on all shared, cloud web hosting, and semi-dedicated hosting...

Can I use ImageMagick?

By default we have ImageMagick installed on all of our servers. When it asks for the path, use...