I'm using drupal services module. I can upload files through web services but the problem is all created files has the same owner, that is, the user of the web services. I would like to change this user but I don't know how to do it.
I have been searching in drupal api functions (file.inc), but I haven't found a function to change this. How could I change the file's owner? Thanks.