Solution 1:
Change the permissions of your directories and files to 775.
Example command (run via SSH or terminal):
chmod -R 775 /path/to/your/wordpress/folder
This gives read, write, and execute permissions to the owner and group, and read + execute permissions to others.
⚠️ Note: For security, WordPress generally recommends:
Directories: 755
Files: 644