Project

General

Profile

Actions

Bug #21189

closed

PHP warning snw, if webserver can't remove extension dir

Added by Steffen Gebert about 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2009-10-04
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

12119.diff (864 Bytes) 12119.diff Administrator Admin, 2009-10-04 21:05
Actions #1

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 ;-)

Actions #2

Updated by Steffen Kamper about 15 years ago

Committed to trunk, rev 6128

Actions

Also available in: Atom PDF