Can not copy files between storages
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.
Updated by Frans Saris over 10 years ago
How to test:
- create a second storage you can access in the filemodule (just a new storage that also uses the local driver)
- try to copy/move a file or folder from one storage to the other
Without the patch this will fail in a file permission error
With the patch moving/copying of files works. Moving/copying of folders will give a message that this isn't implemented yet.