chown USERID, GROUPID, LIST
Changes the owner (and group) of a list of files. The first two elements of the list must be the numeric uid and gid, in that order. This funcation call works in similar way as unix commandchown. Thus you should have sufficient privilege to change the permission of the file.
- Returns the number of files successfully changed.
Here is an example which will change ownership for the given number of files.