Project

General

Profile

Actions

Bug #52309

closed

Folders created from BE with wrong permissions

Added by Viktor Livakivskyi about 11 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2013-09-26
Due date:
% Done:

100%

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

Description

Hi, all.

I have found following issue in FAL Filelist module: creation of files is done with correct permissions, but when it comes to folders creation TYPO3\CMS\Core\Utility\GeneralUtility::fixPermissions() fails because following condition fails: if (self::isAllowedAbsPath($path)), which is the result of a wrong parameter, passed as $path.

It passes: /absPath/parentFolder//newFolder

And, since double slashes are not allowed in self::validPathStr($path), fixPermissions() makes no effect.

Actions

Also available in: Atom PDF