I\'m hosting a wordpress site on ec2 and I\'m trying to update my theme through the admin screen. Its asking me for Hostname and ftp username and password. Is ec2-xxx.comput
You can simply solve this problem by doing this via ssh:
sudo chown -R apache path/to/wordpress
then
sudo chmod -R 755 path/to/wordpress