diff --git a/lib/functions/filedir/function.findDirs.php b/lib/functions/filedir/function.findDirs.php index e0f07b6b..c68b77a4 100644 --- a/lib/functions/filedir/function.findDirs.php +++ b/lib/functions/filedir/function.findDirs.php @@ -46,7 +46,7 @@ function findDirs($path, $uid, $gid) $path = array_pop($list); $path = makeCorrectDir($path); - if(!is_readable($path)) + if(!is_readable($path) || !is_executable($path)) { //return $_fileList; // only 'skip' this directory, #611