Wordpress installation guide
All worked very well indeed until it came to updating my installation. I had a problem with the last part of step 2 in the section on configuring wordpress which states:
Next, give WordPress permission to add and edit files in the wp_content folder:
1 chown -R www-data:www-data /var/www/example.com/public_html/wp-content
This works for updating and installing plugins but not for updating wordpress to the latest version. To get that to work, I changed the owner of public_html to www-data thus
chown -R www-data:www-data /var/www/example.com/public_html
I'm posting this in case anyone else hits the same issue or in case my solution is problematic from a security perspective.
3 Replies
Thank you so much for letting us know. The Linode Docs are actually located in a Git repository on GitHub. I went ahead and opened a new issue on the project with the information you provided. We'll look to get this fixed soon.
Thank you!