I have aws EC2 and i installed word-press,i am unable to upload file from ftp and wordpress ,one at a time works .
Scenario 1:if i change ‘var/www/html’ folders permissions to 755 and owner as ubuntu:ubuntu then i can upload using filezilla but not from wordpress.wordpress shows ‘unable to move file ‘
Scenario 2 :if i change owner to
www-data:www-data then can upload from wordpress but not from filezila.It shows error open for write:permesion denied
I have used following commands
for filezilla to work
sudo chown -R ubuntu:ubuntu /var/www/lifestyledesignpros.com/ sudo chmod -R 755 /var/www/lifestyledesignpros.com/public_html/wp-content/
with this filezila can upload but workpress not so i used following to wordpress to work
sudo chown -R data:www-data /var/www/lifestyledesignpros.com/ sudo chmod -R 755 /var/www/lifestyledesignpros.com/public_html/wp-content/
Question What permission,/owner should i configure to
../wp-content/so both ftp and filezila can upload files.