[TYPO3-core] RFC: bug #3949: Images created with gdlib have wrong file permissions
Christian Kuhn
lolli at schwarzbu.ch
Fri Feb 27 16:00:41 CET 2009
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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 3949_v1.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090227/9592d632/attachment.txt
More information about the TYPO3-team-core
mailing list