Skip to content

Commit

Permalink
Fixed that cap setup would use 755 on the deploy_to and shared direct…
Browse files Browse the repository at this point in the history
…ory roots instead of 775 [DHH]

git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@5355 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
dhh committed Oct 24, 2006
1 parent 19522fc commit 355b730
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG
@@ -1,5 +1,7 @@
*SVN*

* 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]

* Fix typo in default_io_proc so it correctly checks the stream parameter to see if it is the error stream [Stephen Haberman]
Expand Down
2 changes: 1 addition & 1 deletion lib/capistrano/recipes/standard.rb
Expand Up @@ -37,7 +37,7 @@
desc "Set up the expected application directory structure on all boxes"
task :setup, :except => { :no_release => true } do
run <<-CMD
mkdir -p -m 775 #{releases_path} #{shared_path}/system &&
mkdir -p -m 775 #{deploy_to} #{releases_path} #{shared_path} #{shared_path}/system &&
mkdir -p -m 777 #{shared_path}/log &&
mkdir -p -m 777 #{shared_path}/pids
CMD
Expand Down

0 comments on commit 355b730

Please sign in to comment.