title: Permission denied when moving file
body: <p>I am trying to move file to another folder but it gives  Permission denied error. Here is the permission of that files.</p>
  
  <pre><code>-rwxrwxrwx   1 root www-data  394 Oct 11 14:40 namechange.xml*
  
  
  -rwxrwxrwx   1 root www-data  395 Oct 11 14:40 namechange1.xml*
  
  
  -rwxrwxrwx   1 root www-data  345 Oct 11 14:40 roomchange.xml*
  </code></pre>
  
  <p>and here id the code that I used to move files</p>
  
  <pre><code> rename("resources/xml_checkin/namechange.xml", "resources/xml_checkout/test.xml")
  
  ;
  </code></pre>