mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
use g+w instead of 775, so that normal files are not made executable
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@5364 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
31dc6b60f2
commit
4c4f966c77
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
*SVN*
|
||||
|
||||
* Fixed that new checkouts would use 755 instead of 775 [DHH]
|
||||
* Fixed that new checkouts were not group-writable [DHH, Jamis Buck]
|
||||
|
||||
* Fixed that cap setup would use 755 on the deploy_to and shared directory roots instead of 775 [DHH]
|
||||
|
||||
|
|
|
@ -70,7 +70,7 @@ task :update_code, :except => { :no_release => true } do
|
|||
|
||||
source.checkout(self)
|
||||
|
||||
run "chmod -R 775 #{release_path}"
|
||||
run "chmod -R g+w #{release_path}"
|
||||
|
||||
run <<-CMD
|
||||
rm -rf #{release_path}/log #{release_path}/public/system &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue