✅ How to Confirm Your WordPress File Permissions & Ownership Are Correct
(CloudLinux + cPanel, using LSAPI)
Your hosting account uses CloudLinux with the LSAPI PHP handler, WordPress needs the correct permissions and ownership on its files. If these settings are wrong, WordPress may not be able to:
-
Update plugins or themes
-
Upload images
-
Create folders
-
Save settings
-
Run automatic updates
The good news is that you can confirm everything is correct entirely from cPanel, without any technical tools.
✅ 1. What “Correct” Ownership Means (Explained Simply)
Every file and folder in your WordPress installation should belong to your cPanel account.
You don’t need SSH to check this — cPanel automatically ensures ownership is correct as long as:
-
You uploaded files through File Manager, or
-
WordPress created them itself, or
-
Your hosting provider restored them for you
If you see files that you cannot edit, rename, or delete in File Manager, that usually means ownership is wrong and our support team is needed to fix it.
✅ 2. What “Correct” Permissions Look Like
You can check permissions in File Manager. These are the safe, recommended settings:
|
Item |
Correct Permission |
Notes |
|---|---|---|
|
Folders |
|
Required for WordPress to access them |
|
Files |
|
Standard for WordPress and LSAPI |
|
wp-config.php |
|
Extra protection for your database credentials |
|
Nothing should ever be |
|
This is insecure and should be fixed immediately |
✅ 3. How to Check Permissions in cPanel (Step‑by‑Step)
-
Log in to cPanel
-
Open File Manager
-
Navigate to your WordPress folder (usually
public_html) -
In the right‑hand panel, look at the Permissions column
-
Confirm the following:
-
Folders show 755
-
Files show 644
-
wp-config.phpshows 600 or 640
-
If something is different:
-
Right‑click the file or folder
-
Choose Change Permissions
-
Set the correct value
This takes effect immediately.
✅ 4. How to Tell If Ownership Is Wrong
Because you can’t see ownership directly in File Manager, here are the signs:
✔ Ownership is correct if:
-
You can rename files
-
You can delete files
-
You can upload images in WordPress
-
Plugins and themes update normally
-
WordPress does not ask for FTP credentials
✘ Ownership is likely wrong if:
-
You get “Unable to create directory” errors
-
WordPress asks for FTP login during updates
-
You cannot delete or rename files in File Manager
-
Plugin or theme updates fail with “Could not copy file”
-
Media uploads fail even though permissions look correct
If you see any of these symptoms, your hosting provider needs to fix ownership for you — it cannot be corrected from cPanel.
✅ 5. Why LSAPI Makes This Important
LSAPI runs PHP scripts as your cPanel user, not as the webserver.
This gives you:
-
Better security
-
Faster performance
-
Fewer permission problems
But it also means:
???? If ownership or permissions are wrong, LSAPI cannot write to your files.
That’s why confirming these settings is essential.
✅ 6. When to Contact Web Development Support
Contact us at support@reliableisp.net if:
-
Permissions look correct but WordPress still cannot write files
-
You cannot modify files in File Manager
-
WordPress updates fail even after fixing permissions
-
You see files owned by “nobody” or “apache” in error logs
Just tell us:
“Please fix file ownership for my account so all WordPress files are owned by my cPanel user and compatible with LSAPI.”
We’ll know exactly what to do.