title: Can't delete a directory in Mac
body: <p>We have a bundle myapp.component and inside it we have a 'Contents' directory with the following permissions:</p>
  
  <pre><code>drwxrwxrwx  4 root  wheel  136 Mar 18 15:05 Contents
  </code></pre>
  
  <p>When I try to delete this directory using </p>
  
  <pre><code>rm -rf Contents
  </code></pre>
  
  <p>It fails with the reason</p>
  
  <pre><code>rm: Contents/Resources/myapp.rsrc: Permission denied
  rm: Contents/Resources: Directory not empty
  </code></pre>
  
  <p>We do have permissions to delete the 'Contents' directory so why does it still fails?</p>
  
  <p>Edit: If I move the bundle from /Library/Audio/Plug-Ins/Component to ~/tmp/ then It will delete the folder without any problems</p>
  
  <p>Thank you</p>