def chown(self, uid, gid):
self.sftp._log(<EOL>DEBUG,<EOL>"<STR_LIT>".format(hexlify(self.handle), uid, gid),<EOL>)<EOL>attr = SFTPAttributes()<EOL>attr.st_uid, attr.st_gid = uid, gid<EOL>self.sftp._request(CMD_FSETSTAT, self.handle, attr)<EOL>
Change the owner (``uid``) and group (``gid``) of this file.  As with
Python's `os.chown` function, you must pass both arguments, so if you
only want to change one, use `stat` first to retrieve the current
owner and group.

:param int uid: new owner's uid
:param int gid: new group id