Issue Bug Closed

#16430Permissions not set on extracted localization-files

Andreas Wolf 08/04/06, 13:40 updated 07/02/10, 11:16

Description

When you let the Extension Manager update translations of extensions, the unzipped files in typo3conf/l10n/<lang-key>/ are not checked for the right permissions as set in fileCreateMask, folderCreateMask and createGroup.</lang-key>

The problem with this is that the function t3lib_div::fixPermissions doesn’t change the permissions of folders. There is also no function to recursively change permissions of files, as would be neccessary for the function. I have created to new functions in t3lib_div, fixPermissionsFolder() and fixPermissionsRecursively(), which do exactly these two tasks. I also introduced a call to fixPermissionsRecursively in typo3/mod/tools/em/class.em_index.php to fix the permissions after extracting all downloaded zip-files.

Please see the attached patch-file for the changes.

(issue imported from #M3977)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.