[Typo3-dev] calculation and display of filepermissions in filelist

Martin T. Kutschker Martin-no5pam-Kutschker at blackbox.n0spam.net
Mon Jun 21 02:50:18 CEST 2004


Peter Niederlag wrote:
> 
> ... as far as I have tried getmyuid() always gets the owner of the
> scipt that currently is running. I does not take into consideration the
> uid of the apache process whatsoever.

I did not try it, but this is in snyc with the manual entry on php.net.

It will return the owner of the script. AFAIS it returns the uid result 
of the stat() of the script!

So this is in conformance with your observations on getmypid().

Masi





More information about the TYPO3-dev mailing list