Actions
Bug #17768
closedGIFBUILDER creates wrong access rights in typo3temp/GB and typo3temp/menu
Start date:
2007-11-08
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.1
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
GIFBUILDER does not use $TYPO3_CONF_VARS['BE']['fileCreateMask'] in a consistent way.
So GIFBUILDER creates wrong access rights in typo3temp/GB and typo3temp/menu 600 instead of 644 as specified in my localconf.php.
I suggest to introduce the following line in file typo3_src-4.1.3/typo3/sysext/cms/tslib/class.tslib_menu.php after line 2092:
t3lib_div::fixPermissions($this->result[$resKey][$key]['output_file']);
and to introduce the following line in file typo3_src-4.1.3/typo3/sysext/cms/tslib/class.tslib_gifbuilder.php after line 330:
t3lib_div::fixPermissions($gifFileName);
This is just to change the permissions of the file after creating the gifs.
(issue imported from #M6678)
Actions