title: Extract rar file with php failed with warning
body: <p>I just install php rar extension and test it with below sample from <a href="http://www.php.net/manual/en/rar.examples.php" rel="nofollow">http://www.php.net/manual/en/rar.examples.php</a></p>
  
  <p>But failed, filenames was printed out,however no file was extraced,I saw waring:~</p>
  
  <blockquote>
    <p>warning: RarEntry::extract() [rarentry.extract]: ERAR_ECREATE in</p>
  </blockquote>
  
  <pre><code>&lt;?php
  
  $rar_file = rar_open('example.rar') or die("Can't open Rar archive");
  
  $entries = rar_list($rar_file);
  
  foreach ($entries as $entry) {
      echo 'Filename: ' . $entry-&gt;getName() . "\n";
  
      $entry-&gt;extract('/dir/extract/to/');
  }
  
  rar_close($rar_file);
  
  ?&gt;
  </code></pre>
  
  <p>I searched for a while via google but without luck. What's going wrong? thank you !</p>
  
  <blockquote>
    <p>I solved it by myself already.</p>
    
    <p>it is due to destination folder permission I give the folder 777 ,then
    it works.</p>
  </blockquote>