Problem: When I try to install a plugin at Wordpress, I hit an error:
> Installation failed: Download failed. Destination directory for file streaming does not exist or is not writable.
This is due to some permission problem when the content folder. I was editing some files as a sudo su power user, but the install requires a ec2-user write acesss.
Solution: Assuming you are setting up on AWS EC2 instances as a ec-user and the Wordpress is inside /var/www path, then run the command:
sudo chown -R ec2-user:apache /var/www
After changing the ownership, you should be able to install the plugin now.