[BUGFIX] Make sure fixPermissions gets 4 digit string 30/44430/3
authorBenjamin Mack <benni@typo3.org>
Fri, 30 Oct 2015 22:17:05 +0000 (23:17 +0100)
committerMorton Jonuschat <m.jonuschat@mojocode.de>
Sat, 31 Oct 2015 11:34:02 +0000 (12:34 +0100)
commitd551921bdc4c145018187e30921b015f8e8ba545
treed27e4c8ef1e547077215a3abc72b278d5632ce77
parente7b4b381915539518b264bc8382a91f3033771fa
[BUGFIX] Make sure fixPermissions gets 4 digit string

The global file options "fileCreateMask" and "folderCreateMask" should
always have 4 digits when calling GeneralUtility::fixPermissions() to
avoid any problems when having a misconfiguration.

Resolves: #36167
Releases: master
Change-Id: I4ad8a98770a63abe7f8ba3de00b0394d211d5d03
Reviewed-on: https://review.typo3.org/44430
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
typo3/sysext/core/Classes/Utility/GeneralUtility.php