I have a phpscript that create some thumbsnails and now I want to make some new thumbs in a different size by overwriting the old ones.
The problem is that during a serverchange I uploaded all the thumbs manually from the old to the new server.
Now I get writing forbidden by all the thumbs I uploaded myself but not the newer ones that are created by php.
How do I force php/apache to let me overwrite files that have a different owner?