Project

General

Profile

Actions

Bug #66337

closed

PackageStates.php file has incorrect permissions when being recreated again

Added by Sergio Catalá over 9 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2015-04-09
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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.

Actions

Also available in: Atom PDF