Fixing WordPress uploads and updates with correct permissions

wordpressubuntulinuxhostingops

Uploads failing or updates asking for FTP credentials? That’s often permissions and ownership, not WordPress itself. This checklist helps you confirm the web user can write where it needs to without opening everything up.

Symptoms

Checklist

What “good” looks like

FAQ

Why does WordPress ask for FTP credentials on update?
It does that when it can’t write to wp-content (or subdirs). Fix filesystem ownership and permissions so the web server user can write; then you can disable the FTP prompt in wp-config if desired.

WordPress is stuck in maintenance mode after a failed update.
Often the update failed because of permissions or disk. Remove .maintenance and fix the underlying issue; see fixing WordPress stuck in maintenance mode.