I have a client who was wondering if there is anyway to change the ownership of a file uploading using PHP to match the main username for the account. I do not want to enable PHP_SUEXEC and was wondering if there was anyway to do this using PHP commands. Is there anyway to chown it with PHP? If not, is there another way around this? Here was what he was wanting to know:
Files uploaded using http get/php move_uploaded_files take on ownership nobody:nobody.
It would appear your FTP server daemon masks non-login-owned files - FTP users can't see files uploaded using http get/php move_uploaded_files.
Can this be fixed so that files owned by nobody:nobody are visible to FTP users?
Files uploaded using http get/php move_uploaded_files take on ownership nobody:nobody.
It would appear your FTP server daemon masks non-login-owned files - FTP users can't see files uploaded using http get/php move_uploaded_files.
Can this be fixed so that files owned by nobody:nobody are visible to FTP users?