Install Tool: Warning: touch() Utime failed: Permission denied
In #20686 this has been fixed in the "old install tool" but this problem appears again in the "new install tool" since the touch() is made again without a @ to suppress warnings.
A more robust enhancement would be to - as a fallback in case "touch" is not allowed - to remove the file and create it again. This just requires write permissions in the typo3conf directory - which should be there in any case - instead of inode-modify permissions on the ENABLE_INSTALL_TOOL file, which might not be there in case "root" or someone else has created the ENABLE file.
[BUGFIX] Install Tool: Warning: touch() Utime failed: Permission denied
Despite getting rid of this warning, extending the lifetime of this file
gets more robust by a second method, which is recreating it (which should
be possible even if the file is not owned by the PHP process).
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn