[TYPO3-dev] Problem with t3lib_div:tempnam() with symLinked typo3temp-folder

Peter Russ peter.russ at 4many.net
Mon Mar 8 17:18:18 CET 2010


--- Original Nachricht ---
Absender:   Stefan Geith
Datum:       08.03.2010 16:55:
> Hi Devs,
> 
> for some reasons, I have a symlinked typo3temp-folder.
> 
> The only issues with this symlinked folder occur with the php-function 
> tempnam(): it returns the name of the symlinked folder istead of the 
> originally intended folder ...
> 
> Example:
> /var/www/typo3temp is linked to /unsaved_data/typo3temp
> 
> then
>   tempnam('/var/www/typo3temp/xxx')
> returnes something like
>   /unsaved_data/typo3temp/xxx_UX74F
> 
> and this breaks basedir-restrictions....
> 
Why don't you fix basedir?

-- 
docendo discimus

_____________________________
uon GbR
http://www.uon.li
http://www.xing.com/profile/Peter_Russ




More information about the TYPO3-dev mailing list