I can successfully upload images via form using the file uploading class. However, the uploaded files are owned by ‘apache’ with chmod 644, so I cannot use the image manipulation class on them. I have tried running chown() on the file after upload, but I get this error: “Operation not permitted”. If I try to run an image resize on it, I get this error: “Your server does not support the GD function required to process this type of image.” The resizing script I’m using is correct and has been tested on existing images owned by ‘ftp’.
How can I use the file uploading class and modify files it creates via PHP? Is there a way to change ownership either during or after creation? I am on a Media Temple server, so there shouldn’t be any crazy limitations I can’t overcome.
