bevacqua/grunt-ec2 — pull request #24 by MiroRadenovic (2014-09-23 09:13:25+00:00)
Title: chown after rsync upload in deployment

the problem is that rsync uploads and creates folders :/srv/apps/ec2/v/0.0.9 with the root user(sudo) and the application runs with the ubuntu user.
this is not a good solution if your application needs to create temporary data in the project's folder
with this fix a chown -R ubuntu:ubuntu is run after the upload

let me know what do you think,
thx