Wednesday 22 September 2004 7:03:54 am
Yes, we can edit the site.ini.append.php with pico. We have inserted some echo commands in the ezdir.php in the function doMkdir
function doMkdir( $dir, $perm )
{
include_once( "lib/ezutils/classes/ezdebugsetting.php" );
$oldumask = umask( 0 );
if ( ! @mkdir( $dir, $perm ) )
{
umask( $oldumask );
// eZDebug::writeError( "Couldn't create the directory \"$dir\".", "eZDir::doMkdir()" );
echo "<br>+-<br>| whoami=" . exec('whoami') . "<br>";
echo "| pwd =" . exec('pwd') . "<br>";
echo "| id =" . exec('id') . "<br>+--<br>";
echo "Couldn't create the directory \"$dir\" with ";
printf("0%o<br>", $perm);
return false;
}
umask( $oldumask );
return true; } It returns the following output (example) when the installer is finished (after the click on the "send registration" button:
+-
| whoami=e20090401372142
| pwd =/home/i/iddis.de/ezpublish-3.4.1
| id =uid=500(e20090401372142) gid=60006(www) groups=60006(www)
+--
Couldn't create the directory "design/news" with 0777
so the installer script seems not to be able to create the the proper site.ini.append.php and the directories of the choosen installation (for example "corporate") we set the rights of the design, settings and var directories to 777. There has to be some kind of other restriction to the setup script, but which? For today we run out of new ideas.
http://www.heiringhoff.de
|