diff --git a/CHANGELOG b/CHANGELOG index ea8d3f6c..a98a0fca 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Fixed that new checkouts would use 755 instead of 775 [DHH] + * Fixed that cap setup would use 755 on the deploy_to and shared directory roots instead of 775 [DHH] * Don't run the cleanup task on servers marked no_release [Jamis Buck] diff --git a/lib/capistrano/recipes/standard.rb b/lib/capistrano/recipes/standard.rb index 56bbc02c..97fe6909 100644 --- a/lib/capistrano/recipes/standard.rb +++ b/lib/capistrano/recipes/standard.rb @@ -70,6 +70,8 @@ task :update_code, :except => { :no_release => true } do source.checkout(self) + run "chmod -R 775 #{release_path}" + run <<-CMD rm -rf #{release_path}/log #{release_path}/public/system && ln -nfs #{shared_path}/log #{release_path}/log &&