Guides › Hosting, domain & email › Security & hacks

Website File Permissions: What 755, 644 and 777 Mean and How to Fix Them

Permission errors cause 403, 500 and upload failures. Learn the safe values and how to set them in File Manager.

Reference guide. This guide is written from established practice and the official documentation of the tools involved. We have not yet tested every step on a live demo site. Back up your site before you change anything.

Every file has permissions that say who may read, write or run it. Wrong settings cause 403 and 500 errors, failed uploads and security holes.

The safe defaults

Why 777 is a problem

777 lets anyone on the server write to the file. Hacked sites often use 777 folders to plant malware. Never use it as a quick fix. See our hacked-site guide.

Change permissions in File Manager

Right-click a file or folder, choose Permissions (or Change permissions), and set the numbers. To fix a whole site, use your host's Fix permissions or Fix ownership tool if it has one, or a one-time command from SSH.

Ownership matters too

Files must belong to your hosting user. Files copied by a different user after a migration may need an ownership reset by your host.

When errors persist

See our 403 guide and our update failed guide.

Related guides

Did this solve it? If not, email hello@sitefixlab.org with the exact error text and we will look into it. Try the problem finder.

Last updated 2026-11-21.