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

Peter Niederlag niederlag at ikd01.de
Wed Jun 23 09:43:05 CEST 2004


Hi,

MTK schrieb am 20.06.2004 um 20:50 Uhr CEST

> 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().

But doesn't that completly disqualify getmyuid() to be useful
in calculation of apache/php being capable of reading/writing a
particular file?

-- 
Peter Niederlag
*** aktuell: Seminare zu Typo3 ***
http://typo3.naw.de






More information about the TYPO3-dev mailing list