filehandle.chown(uid, gid)


    更改文件的所有权。 chown(2) 的封装。

    • uid <integer> The file's new owner's user id.
    • gid <integer> The file's new group's group id.
    • Returns: <Promise> Fulfills with undefined upon success.

    Changes the ownership of the file. A wrapper for chown(2).