<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -17,19 +17,21 @@
 # limitations under the License.
 #
 
-define :cap_setup, :path =&gt; nil, :owner =&gt; &quot;root&quot;, :group =&gt; &quot;deploy&quot;, :appowner =&gt; &quot;nobody&quot; do
+define :cap_setup, :path =&gt; nil, :owner =&gt; &quot;root&quot;, :group =&gt; &quot;root&quot;, :appowner =&gt; &quot;nobody&quot; do
+  include_recipe &quot;capistrano&quot;
 
   directory params[:path] do
     owner params[:owner]
     group params[:group]
     mode 0755
   end
-
+  
+  # after chef-174 fixed, change mode to 2775
   %w{ releases shared }.each do |dir|
     directory &quot;#{params[:path]}/#{dir}&quot; do
       owner params[:owner]
       group params[:group]
-      mode 2775
+      mode 0775
     end
   end
   
@@ -37,7 +39,7 @@ define :cap_setup, :path =&gt; nil, :owner =&gt; &quot;root&quot;, :group =&gt; &quot;deploy&quot;, :appowner
     directory &quot;#{params[:path]}/shared/#{dir}&quot; do
       owner params[:appowner]
       group params[:group]
-      mode 2775
+      mode 0775
     end
   end  
   </diff>
      <filename>capistrano/definitions/cap_setup.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>2cf57cb7b9ad3de78043e52582f8198060a16196</id>
    </parent>
  </parents>
  <author>
    <name>jtimberman</name>
    <email>joshua@opscode.com</email>
  </author>
  <url>http://github.com/dbgrandi/cookbooks/commit/25a201cfbd8edd036384835c479da4047fbb981f</url>
  <id>25a201cfbd8edd036384835c479da4047fbb981f</id>
  <committed-date>2009-03-11T14:27:10-07:00</committed-date>
  <authored-date>2009-03-11T14:27:10-07:00</authored-date>
  <message>cook-21, include capistrano recipe and fix modes due to chef-174</message>
  <tree>5d9cc70098a692e3d9fea314edb083d64888274f</tree>
  <committer>
    <name>jtimberman</name>
    <email>joshua@opscode.com</email>
  </committer>
</commit>
