title: How to change a file that used to be a directory back to directory on linux?
body: <p>I was playing around with Apache VFS API to move files back and forth between my local machine and remote linux host over sftp and it converted some directories to files somehow on my linux host from <code>drw-r-----</code> to <code>-rw-r-----</code> </p>
  
  <p>Does anyone know how to convert it back to a directory?</p>