PHP : letting Apache modify FTP uploaded files
I've been Googling my butt off and still found no satisfactory answer to this, so maybe there's someone here who can help.
I'm on a shared hosting environment and this can't change as it's a client's site.
If I upload a file via FTP then Apache/PHP has no rights to rename, unlink etc. I need to find the right command to make Apache/PHP the owner so I can rename etc and then set ownership back to FTP (otherwise it can't be deleted via an FTP client later on).
Any suggestions as I can't use chown on the shared hosting.