[TYPO3-core] RFC: bug #3949: Images created with gdlib have wrong file permissions

Michael Stucki michael at typo3.org
Fri Feb 27 17:59:43 CET 2009


Hi Christian,

+1 after reading. Can't test this but what I can confirm is that after
applying, the backend is still working... :-)

I'll commit the patch in a minute...

- michael

Christian Kuhn schrieb:
> This is a SVN patch request.
> 
> Type: bug
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=3949
> 
> Branches: trunk, 4.2-branch
> 
> Problem:
> Images generated with gdlib do not call t3lib::fixPermissions()
> afterwards and thus have no reliable permissions (depend on environment
> specific umask).
> 
> Solution:
> Add a call to fixPermissions() if a file has been created in
> t3lib_stdgraphic->imageWrite().
> 
> Notes:
> imagejpeg(), imagegif() and imagepng() always return boolean, this is
> also fixed in the javadoc of the method.
> 
> Regards
> Christian
> 


-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/


More information about the TYPO3-team-core mailing list