From 50ae1981648d64806ee83fb119e8ab923d7719e7 Mon Sep 17 00:00:00 2001 From: "Michael Kaufmann (d00p)" Date: Fri, 25 Feb 2011 16:38:34 +0100 Subject: [PATCH] check whether directory is executable for the webserver user, fixes #612 Signed-off-by: Michael Kaufmann (d00p) --- lib/functions/filedir/function.findDirs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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