JSOPanel Get started
Help Center › Administrators › A website returns "Permission denied" or won't display

A website returns "Permission denied" or won't display

Fixing file and folder permissions that are blocking a customer's website.

Every file and folder on the server carries a permission setting that decides who may read, write, or run it. When a website's files end up with the wrong permission, usually after being uploaded through an unfamiliar FTP client, restored from another host, or copied by hand, the site can fail to load at all and show "Permission denied" or a plain 403 error.

Steps

  1. Open the account's File Manager and go to the website's main folder (usually named after the domain).
  2. Each file and folder shows a Mode number. An ordinary folder should normally read 755 and an ordinary file 644. Type the correct number into the box next to it and click Set.
  3. Permissions are changed one item at a time. If several files look affected, start with whichever one the error message actually names, most often the application's main entry file, rather than working through the whole folder.
Tip: a single file with the wrong permission, most commonly the application's main entry file, is enough to bring an entire site down. If the fix above doesn't resolve it, check that one file specifically.

If a migrated account keeps having this problem

Files brought in from another control panel occasionally keep permission or ownership settings from the original server that don't match what this one expects. If setting the mode doesn't resolve it, re-uploading the affected file through the File Manager gives it fresh, correct ownership on this server.