The touch command only succeeds if the process user is the file owner. This must not be true in some deployment scenarios: The deployment user is allowed to write (and delete) such cache files but must not be the owner. The workaround is to recreate the cache file (in an atomic operation) with the same contents and touch the newly created file.
The touch command only succeeds if the process user is the file owner. This must not be true in some deployment scenarios: The deployment user is allowed to write (and delete) such cache files but must not be the owner. The workaround is to recreate the cache file (in an atomic operation) with the same contents and touch the newly created file.
See FluidTYPO3#1509.