Issue Bug Closed

#53802Can not copy files between storages

Frans Saris 11/20/13, 16:50 updated 10/02/18, 12:08

Description

When you try to copy a file from storage 0 to storage 1 with ‘ResourceStorage::copyFile()’ you get the folowing exception:

Uncaught TYPO3 Exception
#1319455097: Error while fetching permissions for ...

RuntimeException thrown in file typo3/sysext/core/Classes/Resource/Driver/LocalDriver.php in line 1173

ResourceStorage::checkFileActionPermission() uses always the current storage and not the storage of the file itself.

Reviews 3