Better error reporting when the setup fails to create a directory.

SVN:2.2.0[3794]
This commit is contained in:
Denis Flaven
2015-09-30 14:09:57 +00:00
parent 6c1e658fe4
commit 9c7671e894

View File

@@ -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
}