From 9c7671e8949762e9d7362740a2ecd17a773fee35 Mon Sep 17 00:00:00 2001 From: Denis Flaven Date: Wed, 30 Sep 2015 14:09:57 +0000 Subject: [PATCH] Better error reporting when the setup fails to create a directory. SVN:2.2.0[3794] --- setup/runtimeenv.class.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/runtimeenv.class.inc.php b/setup/runtimeenv.class.inc.php index bfdd1362c0..1bc8aa9d44 100644 --- a/setup/runtimeenv.class.inc.php +++ b/setup/runtimeenv.class.inc.php @@ -695,7 +695,7 @@ class RunTimeEnvironment { if (!@mkdir($sDir)) { - throw new Exception("Failed to create directory '$sTargetPath', please check the rights of the web server"); + throw new Exception("Failed to create directory '$sDir', please check that the web server process has enough rights to create the directory."); } @chmod($sDir, 0770); // RWX for owner and group, nothing for others }