[TYPO3-core] RFC #11433: touch(): Utime failed in install tool
Martin Kutschker
masi-no at spam-typo3.org
Tue Sep 29 12:12:36 CEST 2009
Steffen Gebert schrieb:
> 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.
And then, what? If a failed check doesn't lead to a report to the admin you could have used @ with
the same effect. The error goes away, but you have no idea that the touch failed.
Masi
More information about the TYPO3-team-core
mailing list