title: How to recursively change the owner and group on a directory with Chef?
body: <p>the <code>resource_directory</code> has only 2 actions available: <code>create</code> and <code>delete</code></p>
  
  <p>I need to update the owner and group of a directory recursively.</p>
  
  <p>How do I do that?</p>
  
  <p>using a simple <code>resource_execute</code>?</p>
  
  <pre><code>execute "chown-data-www" do
    command "chown -R www-data:www-data /var/www/myfoler"
    user "root"
    action :run
  end
  </code></pre>