Error during upload in an extension folder
as announced at the French TYPO3 University, an error occur when I attempt to upload a .png file in an extension folder.
The following message appears : "You are not allowed to access files outside your storages" (screenshot in attachment).
Updated by Xavier Perseguers over 5 years ago
- Status changed from New to Accepted
I could reproduce this bug, but with another error message, namely "Invalid target directory".
In my case this is caused by trying to upload to an extension where it is actually symlinked to another folder, outside of my website:
$ cd /path/to/typo3conf/ext $ ls -l ... myextension -> /path/to/some/other/location
In this case, the symbolic link is resolved due to
\Causal\Sphinx\Controller\RestEditorController::getFilename:878 and I get the aforementioned error message.
I then tried with an extension not being symlinked and I get the exact the error message:
You are not allowed to access files outside your storages
In this case the problem is located in