Knowledgebase

Permissions or ownership wrong after restore Print

  • permissions, restore, woocommerce, errors, uploads, cpanel, filemanager, caching, troubleshooting, support
  • 0

Files present, site failing.

WHAT IT MEANS

Files transferred but their permissions or ownership did not survive correctly.

THE SYMPTOMS

500 errors 403 errors The application unable to write uploads or cache Updates failing

SETTING PERMISSIONS

In File Manager, select directories and apply 755 recursively to directories only, then files and apply 644 to files only.

Applying one value to everything makes every file executable, which is wrong.

Configuration files containing credentials: 600.

OWNERSHIP

Files must be owned by your cPanel user.

After a restore, or an upload through an unusual route, they may be owned by something else. You cannot correct this yourself.

Open a ticket and we will fix ownership.

HOW TO TELL

If permissions look correct and the application still cannot write, ownership is the likely cause.

NEVER 777

Any process on the server could then modify the file, and our configuration may refuse to execute it.

If an application cannot write with correct ownership, the ownership is wrong rather than the permissions being too strict.


Was this answer helpful?
Back

Are you happy with your experience? Leave us a review on Trustpilot.


Trustpilot