Issue Bug Closed

#51747Fatal Error after upgrading to 6.0.9 and 6.1.4 and deleting typo3temp/_processed_

Jochen Weiland 09/04/13, 21:27 updated 10/02/18, 12:10

Description

After upgrading to TYPO3 versions 6.0.9 or 6.1.4 a fatal error will be generated after clearing the typo3temp directory (specifically the typo3temp/_processed_ subdirectory).

Issue seems to be somewhere in typo3/sysext/core/Classes/Resource/ResourceStorage.php

What I have found out so far: if the subdirectory typo3temp/_processed_ does not exist, it won’t be auto-created. If you manually create the directory the exception is not thrown.

Error message: Fatal error: Uncaught exception ‘TYPO3\CMS\Core\Resource\Exception\InsufficientFolderAccessPermissionsException’ with message ‘You are not allowed to access the given folder’ in /…/typo3_src-6.0.9/typo3/sysext/core/Classes/Resource/ResourceStorage.php:730
Stack trace: #0 /…/typo3_src-6.0.9/typo3/sysext/core/Classes/Resource/ResourceStorage.php(1807): TYPO3\CMS\Core\Resource\ResourceStorage->assureFolderReadPermission(Object(TYPO3\CMS\Core\Resource\Folder))
#1 /…/typo3_src-6.0.9/typo3/sysext/core/Classes/Resource/Folder.php(239): TYPO3\CMS\Core\Resource\ResourceStorage->hasFolderInFolder(‘typo3temp’, Object(TYPO3\CMS\Core\Resource\Folder))
#2 /…/typo3_src-6.0.9/typo3/sysext/core/Classes/Resource/ResourceStorage.php(2239): TYPO3\CMS\Core\Resource\Folder->getSubfolder(‘typo3temp’)

Reviews 3