check whether directory is executable for the webserver user, fixes #612
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -46,7 +46,7 @@ function findDirs($path, $uid, $gid)
|
|||||||
$path = array_pop($list);
|
$path = array_pop($list);
|
||||||
$path = makeCorrectDir($path);
|
$path = makeCorrectDir($path);
|
||||||
|
|
||||||
if(!is_readable($path))
|
if(!is_readable($path) || !is_executable($path))
|
||||||
{
|
{
|
||||||
//return $_fileList;
|
//return $_fileList;
|
||||||
// only 'skip' this directory, #611
|
// only 'skip' this directory, #611
|
||||||
|
|||||||
Reference in New Issue
Block a user