os.fchown(fd, uid, gid)
Change the owner and group id of the file given by fd to the numeric uid and gid. To leave one of the ids unchanged, set it to -1. See chown()
. As of Python 3.3, this is equivalent to os.chown(fd, uid,
gid)
.
Availability: Unix.
Please login to continue.