diff --git a/phpgwapi/inc/class.egw_vfs.inc.php b/phpgwapi/inc/class.egw_vfs.inc.php index 271084d97d..6497922f03 100644 --- a/phpgwapi/inc/class.egw_vfs.inc.php +++ b/phpgwapi/inc/class.egw_vfs.inc.php @@ -720,7 +720,7 @@ class egw_vfs extends vfs_stream_wrapper */ static function get_eacl($path) { - return self::_call_on_backend('get_eacl',array($path)); + return self::_call_on_backend('get_eacl',array($path),true); // true = fail silent (no PHP Warning) } /** @@ -751,7 +751,7 @@ class egw_vfs extends vfs_stream_wrapper */ static function propfind($path,$ns=self::DEFAULT_PROP_NAMESPACE) { - return self::_call_on_backend('propfind',array($path,$ns)); + return self::_call_on_backend('propfind',array($path,$ns),true); // true = fail silent (no PHP Warning) } /** @@ -833,7 +833,15 @@ class egw_vfs extends vfs_stream_wrapper */ static function int2mode( $mode ) { - if($mode & 0x1000) // FIFO pipe + if(($mode & self::MODE_LINK) == self::MODE_LINK) // Symbolic Link + { + $sP = 'l'; + } + elseif(($mode & 0xC000) == 0xC000) // Socket + { + $sP = 's'; + } + elseif($mode & 0x1000) // FIFO pipe { $sP = 'p'; } @@ -853,14 +861,6 @@ class egw_vfs extends vfs_stream_wrapper { $sP = '-'; } - elseif($mode & 0xA000) // Symbolic Link - { - $sP = 'l'; - } - elseif($mode & 0xC000) // Socket - { - $sP = 's'; - } else // UNKNOWN { $sP = 'u';