WordPress Error: Is its parent directory writable by the server

Error

Unable to create directory uploads/2022/11. Is its parent directory writable by the server?

Solution

$ chown www-data:www-data  -R * # Let Apache be owner
$ find . -type d -exec chmod 755 {} \;  # Change directory permissions rwxr-xr-x
$ find . -type f -exec chmod 644 {} \;  # Change file permissions rw-r--r--
5 1 vote
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x