I'm using 3.1.0 at the moment, deploying to Ubuntu 13.10. My deploy.rb file sets :keep_releases to 5.
When I deploy, sometimes (I hate that) Cap can't delete a subdir in /var/www/myapp/releases/2014.../public/uploads. That subdir starts its life as owned by deploy/deployer, but in the oldest release (the one Cap is trying to delete) it gets reset to root/deployer. The root user is in the deployer group, but the file permissions are thusly: drwxr-sr-x 2 root deployer 4096 Jun 27 06:42 0a1aa729184a8f5ea35dac525ab9f97a Without group write permissions for the subdir, Cap won't be able to delete it. But as I said, the group of the subdir is being changed somehow from deploy to root. Is Cap doing this? If so, can I stop it? The maddening thing is that it doesn't seem to happen all the time, but when it does, it kills the deploy. -- You received this message because you are subscribed to the Google Groups "Capistrano" group. To unsubscribe from this group and stop receiving emails from it, send an email to capistrano+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/3e443fdf-3451-425c-b816-0f4e09532cb7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.