#82342InaccessibleFolder exception needs filename
Description
If a file is not found or a folder is not accessible, then a InsufficientFolderReadPermissionsException is thrown and the message “You are trying to use a method on an inaccessible folder.” is logged. However the name of the file or folder is missing. It is a lot of work to discover the filename.
TYPO3\CMS\Core\Resource\Exception\InsufficientFolderReadPermissionsException message You are trying to use a method on an inaccessible folder. file /home/path/public_html/typo3_src-8.7.4/typo3/sysext/core/Classes/Resource/InaccessibleFolder.php line 242 function throwInaccessibleException class TYPO3\CMS\Core\Resource\InaccessibleFolder file /home/path/public_html/typo3_src-8.7.4/typo3/sysext/core/Classes/Resource/ResourceStorage.php line 2913 function hasFolder class TYPO3\CMS\Core\Resource\InaccessibleFolder
The name of the file should also be given with the exception.
See
https://stackoverflow.com/questions/4049869/php-exceptions-extra-parameters