/**
  * Gets file permissions
  *
  * FIXME does not handle errors in fileperms()
  *
  * @access public
  *
  * @param string $file Path to the file.
  * @return string Mode of the file (last 3 digits).
  */
 public function getchmod($file)
 {
     if ($this->authorized()) {
         return parent::getchmod($file);
     } else {
         return false;
     }
 }