How to fix WordPress auto update permissions

If you ever had problems with the WordPress files ownership or permisions this might help you.

In my server I had different users and groups. I couldn't get the auto-upgrade (core, themes and plugins) to work.

Let Apache be owner

chown www-data:www-data  -R *

2. Change directory permissions rwxr-xr-x

find . -type d -exec chmod 755 {} \;

Change file permissions rw-r--r--

find . -type f -exec chmod 644 {} \;

About Ricard Torres

Senior Front-end Software Engineer from Barcelona, Haidong Gumdo Instructor (korean martial art of the sword), street photographer, travel lover, TV addict, Boston Red Sox fan, and privacy advocate.

@ricard_dev @ricard_dev

📝 Blog 🎙 Podcast

Leave a Reply

Add <code> Some Code </code> by using this tags.

*
*