When I try to install a theme, I get this error message:
Unable to create directory wp-content/uploads/2023/03. Is its parent directory writable by the server?
I am not expert on Wordpress. Can you please let me know what exactly needs to be done so that the thing works?
I've followed this tutorial to set up the servers and wordpress: https://www.youtube.com/watch?v=8Uofkq718n8
As you can see - it uses Ubuntu (I also have ubuntu user to connect with EC2 instance on AWS). But it seems some access rights are missing. What is the best way to set up everything? for WP theme installation? is this a normal issue? Should I use ubuntu user or some other user (which one?) to set up the access rights? Is this what needs to be done?
root
user, so of course Apache and PHP can't modify those folders! WWW user is not allowed to modifyroot
users stuff. This is a general ownership problem not a WordPress problem, and you would have the same issues if you uploaded a standalone PHP script that tried to write a file