TimThumb cache directory issue My first suspicion was that the cache files created by TimThumb might have different permissions (or even a different owner) which could cause the cache clearing routines to silently fail. If, however, my above script works, I'm wrong and TimThumb is just being lame for some other reason.