data_dir doesn't need to be readable. It has to executable, but that's
authorkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 24 Jan 2005 19:16:54 +0000 (19:16 +0000)
committerkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 24 Jan 2005 19:16:54 +0000 (19:16 +0000)
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

index b02a316bd6cde066da7e2e7cec2cd1e540f0131c..e65c147c5707fda2c217349780a0aa75d1e140f8 100644 (file)
@@ -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)!");
 }