I've been trying to figure this out with my host's support staff (Site5), and I hope this will save others some trouble... Recently, Capistrano was modified (see changelog here: http://tinyurl.com/y9szza) to apply "chmod g+w" to the entire release_path after checkout. This is good in a team environment, but bad on shared hosts (who like to restrict executable files to "user permissions only"). At the moment, my "fix" is to stick to Capistrano 1.2, and work on an updated update_code task that doesn't run chmod (which, it seems to me, should be a separate task, anyway).
on 2007-01-19 16:31