Hi there!
I'm posting this thread hopping there's a way to solve my problem, but i'm sure, i'll get a netgative answear.
I've file upload script, it works fine, the only problem is files get user: Apache and Group: Apache
I'll would like to change them to my u: (scripters) and g: (users), but when i try to access the chown() function within php, i get the following error:
Warning: chown failed: Operation not permitted in /home/scripters/public_html/upload.php on line 30
Well if I can't use chown to change the group/owner from the uploaded files, is there a way i can change them ?
I'd like a solution, but the only one i found 'till now, was a bash script doing 'chown -R' every hour, running as root.
Thanks,
kil