[TYPO3-core] RFC #11433: touch(): Utime failed in install tool

Xavier Perseguers typo3 at perseguers.ch
Tue Sep 29 11:55:14 CEST 2009


Hi,

You have a typo in variable of is_writable. Beside that, I'm +1 by reading.

Xavier

Steffen Gebert wrote:
> 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
> 


-- 
Xavier Perseguers
MVC ExtJS Leader

http://forge.typo3.org/projects/show/extension-mvc_extjs


More information about the TYPO3-team-core mailing list