I get so frustrated with the lack of my knowledge ;)
I’m setting up a new droplet. Nginx is installed and the “Welcome to nginx!” shows in the browser. PHP is also working as well as mysql and phpmyadmin.
Now, I connected sftp using filezilla with a username and tried to upload a file. The file would not upload and the error:
Error: /usr/share/nginx/www/installer.php: open for write: permission denied
Now this makes sense because root is the owner. I recall issues (and did searches) that WordPress will not update unless the correct ownership is provided. Sadly, answers are a bit cryptic.
chgrp www-data /usr/share/nginx/www chmod g+w /usr/share/nginx/www
This did not work.
Also, I know that there must be a way to add permissions to the “myuser” account so that I can transfer files AND have WordPress update.
Thank you for the clarification.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!