Bug #21189
closedPHP warning snw, if webserver can't remove extension dir
0%
Description
If user uploaded an extension not using TYPO3 and with permissions, so that TYPO3 can't delete the ext-directory, a PHP warning is outputted:
[Sun Oct 04 20:36:47 2009] [error] [client 127.0.0.1] PHP Warning: rmdir(/Applications/XAMPP/xamppfiles/htdocs/typo3conf/ext/stg_clearcache/) [<a href='function.rmdir'>function.rmdir</a>]: Directory not empty in /Applications/MAMP/htdocs/vhosts/fw/typo3_src/typo3/mod/tools/em/class.em_index.php on line 4355, referer: http://localhost/typo3/mod/tools/em/index.php?&id=0&CMD[showExt]=stg_clearcache&SET[singleDetails]=backup
(issue imported from #M12119)
Files
Updated by Steffen Gebert about 15 years ago
I'm very sorry for the uncomplete bug title and description.. accidently pressed the enter key :(
Correct title: PHP warning shown, if webserver can't remove extension dir
Description:
If user uploaded an extension not using TYPO3 and with permissions, so that TYPO3 can't delete the ext-directory, a PHP warning is outputted:
PHP Warning: rmdir(.../typo3conf/ext/.../): Directory not empty in .../typo3/mod/tools/em/class.em_index.php on line 4355
Of course, it's not the best to upload extension and give TYPO3 no access rights, but we shouldn't fail with a PHP warning in this case ;-)