[Typo3-dev] TYPO3 and Novell netware anyone?

Christian Jul Jensen christian at jul.net
Fri Sep 3 13:56:56 CEST 2004


"Martin T. Kutschker" <Martin.no5pam.Kutschker at blackbox.n0spam.net> writes:

> Juergen Egeling wrote:
> > Hi,
> > has anyone TYPO3 running with Netware from Novell. To me it
> > seems that http://de3.php.net/manual/en/function.is-file.php
> > makes problems, and so there is no chance, ...
> > any hints?
> 
> Do you have the same problems as Christian Jul Jensen? See his recent
> posting about file checking in the install tool.
> 
> Perhaps you could try using stat() plus a check on whether the "mode"
> (index 2) of the returned array signifies a regular file.
> 
> http://de3.php.net/manual/en/function.stat.php

Still without having checked it properly, I think my problem is this:

I run PHP in safemode, and have a 'safemode-exec-dir' in that dir I
symlink executables that are allowed to be executed by PHP. Pretty
standard stuff.

It seems that stat (that I'm pretty sure is_file also uses internally)
resolves the symlink, and decides that it doesn't have read access to
the original file, which is true, but not a problem, and then returns
false instead of an array. The same is the case with lstat.

Again, this is just my guesses about what's going on. I will try to
investigate it further.

--
Julle




More information about the TYPO3-dev mailing list