WordPress installations suddenly don't have permissions

I had two fully functioning WordPress installations on one VPS. However, the auto-update to WordPress 5.0 failed and I had to manually upload it. After that it worked just fine, but now all of the sudden I can't do anything - update plugins (error while creating new directory), update WordPress, upload media files. This is happening on both WP sites.

In Filezilla all folders in /var/www appear to have the www-data user/group (?) assigned. And the owner has 755 permission.

1 Reply

You probably have to set the permissions on the directories recursively by using the -R switch. Also, make sure that all directories are set to www-data for both owner and group.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct