Bug #66337
closedPackageStates.php file has incorrect permissions when being recreated again
100%
Description
We have in LocalConfiguration.php the next settings:
[BE][fileCreateMask] = 0660
[BE][folderCreateMask] = 2770
[BE][createGroup] = 'www-data'
If PackageStates.php file is deleted, when Typo3 recreates it again, the permissions for this file are not setup properly as defined in LocalConfiguration.php file.
Suggestion:
Add the next line:
\TYPO3\CMS\Core\Utility\GeneralUtility::fixPermissions($this->packageStatesPathAndFilename);
after: parent::sortAndSavePackageStates();
in sortAndSavePackageStates() function.
Updated by Gerrit Code Review over 9 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/38574
Updated by Gerrit Code Review over 9 years ago
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39348
Updated by Mathias Brodala over 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 6de4beafdc5fa21424399566fce22065629afb79.