Question: what is fchown in linux?
Answer: fchown() changes the ownership of the file referred to by the open file descriptor fd. ... Only a privileged process (Linux: one with the CAP_CHOWN capability) may change the owner of a file. The owner of a file may change the group of the file to any group of which that owner is a member.