[Typo3-dev] TYPO3 and Novell netware anyone?

Martin T. Kutschker Martin.no5pam.Kutschker at blackbox.n0spam.net
Thu Sep 2 14:37:35 CEST 2004


Christian Jul Jensen wrote:
> "Martin T. Kutschker" <Martin.no5pam.Kutschker at blackbox.n0spam.net> writes:
> 
> 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.

That'd be odd. If you can exec it, you can stat it. That is on the OS 
level. Could well be that PHP has some additional stuff going on.

Masi





More information about the TYPO3-dev mailing list