I just installed XUploadPro 3.0 on a linux environment and file uploads work fine.
But my problem is that the uploaded files are owned by the same user/group as the cgi files (lets say admin/psacln). When I later try to handle these files via PHP, I cannot access them (ie for renaming) as apache is run by a different user/group (apache/apache).
So my question is if there is any possibility to assign a different user/group after uploading or change permissions on that file (by the upload scripts). I cannot do it via PHP as the user apache does not have the permissions to access the file.
I already tried to chown/chgrp all cgi files to apache/apache but the the upload does no longer work.
Thanks already for your help!
2 posts • Page 1 of 1