[TYPO3-core] RFC #11433: touch(): Utime failed in install tool
Steffen Gebert
steffen at steffen-gebert.de
Tue Sep 29 11:46:32 CEST 2009
Hi,
This is a SVN patch request
Type: Bugfix
Branches: 4_1, 4_2, trunk
Bugtracker reference:
http://bugs.typo3.org/view.php?id=11433
Problem:
Install tool always touches the ENABLE_INSTALL_TOOL file to update its
utime.
If the web server user has no right to do so, this fails with a nasty PHP
warning.
Solution:
Check, if the file is really writable before touching it.
Note:
As discussed in the bug tracker, the hints of a locked install tool are
not the best. Those words should be optimized in another RFC.
Also, I know it's not as desired to create this file using a shell, but
some people have this habit - me included.
So suppress the error message in this case.
Regards
Steffen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 11433_v2.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090929/16b5efb1/attachment.txt
More information about the TYPO3-team-core
mailing list