When using the rails jumpbox, the app is owned by admin:www-data. In order to get the correct group ownership (www-data) for the files when using capistrano, I changed the default group for the admin user (in /etc/passwd) to www-data.
I'm wondering if this is ok? I could have made capistrano run "sudo chmod -R" after every command but this seemed like too much of a pain.
Is there a better way to get cap to save files with the correct group ownership?
Thanks for any info!