[TYPO3-core] RFC: bug #3949: Images created with gdlib have wrong file permissions
Ernesto Baschny [cron IT]
ernst at cron-it.de
Fri Feb 27 16:21:31 CET 2009
Christian Kuhn wrote: on 27.02.2009 16:00:
> 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.
+1 on reading.
Cheers,
Ernesto
More information about the TYPO3-team-core
mailing list