From d4eaadbe7c054eee5d869ff29ffc8775bfcaffe9 Mon Sep 17 00:00:00 2001 From: kink Date: Mon, 24 Jan 2005 19:16:54 +0000 Subject: [PATCH] data_dir doesn't need to be readable. It has to executable, but that's not cleanly testable in PHP so it seems.. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@8703 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/configtest.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/configtest.php b/src/configtest.php index b02a316b..e65c147c 100644 --- a/src/configtest.php +++ b/src/configtest.php @@ -122,9 +122,7 @@ if(!file_exists($data_dir)) { if(!is_dir($data_dir)) { do_err("Data dir ($data_dir) is not a directory!"); } -if(!is_readable($data_dir)) { - do_err("I cannot read from data dir ($data_dir)!"); -} +// datadir should be executable - but no clean way to test on that if(!is_writable($data_dir)) { do_err("I cannot write to data dir ($data_dir)!"); } -- 2.25.1