#53802Can not copy files between storages
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.