i have a script that upload a file to the server and i am running apache2
so the default apache usersis www-data and group www-data,so as i upload the
file i want each and every file that uploaded to the server to change from www-data
to staff user name.i keep on getting the following error Warning: chown() [function.chown]: Operation not permitted in /www/upl/file/uploader.php on line 106
please someone can help me to resolve this problem,basically i don't want to change httpd.conf cause i am running multiple site on the server.
i am looking for someone who solved or help me to change the ownership
of the uploaded file.