Project

General

Profile

Actions

Bug #17768

closed

GIFBUILDER creates wrong access rights in typo3temp/GB and typo3temp/menu

Added by Juergen Heym about 17 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
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)


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #16411: Files in typo3temp/GB have wrong permissionsClosedMichael Stucki2006-07-28

Actions
Actions

Also available in: Atom PDF