Permission error while sending file to Amazon server

3

I'm trying to send some site changes to the client server in amazon, but by doing so it returns me that I am not allowed to do this, because the client site is not in /var/www/html but in /var/www . The user I am using does not know if it was the client that created or is already the default of amazon, but it is the user ubuntu .

I have no idea how to configure / mess with Amazon, so I need help. I am using Filezilla to transfer the files via sFTP

    
asked by anonymous 22.02.2016 / 15:58

1 answer

1

The ideal would even be you to see permission from the / var / www / html folder. You can verify using the "$ls -l" command. By default in the ubuntu distribution, the owner must be the www-data user who has a group of the same name. Add the ubuntu user to the www-data group using the command: "sudo addgroup ubuntu www-data" .

    
04.05.2016 / 23:02