mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
Fixed that new checkouts would use 755 instead of 775 [DHH]
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@5357 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
077675242b
commit
31dc6b60f2
2 changed files with 4 additions and 0 deletions
|
@ -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]
|
||||
|
|
|
@ -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 &&
|
||||
|
|
Loading…
Reference in a new issue