Project

General

Profile

Actions

Bug #66337

closed

PackageStates.php file has incorrect permissions when being recreated again

Added by Sergio Catalá about 9 years ago. Updated over 5 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 #1

Updated by Gerrit Code Review about 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

Actions #2

Updated by Gerrit Code Review almost 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

Actions #3

Updated by Mathias Brodala almost 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #4

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF