fs.fchownSync(fd, uid, gid)
-
fd<integer> -
uid<integer> 文件的新所有者的用户 ID。¥
uid<integer> The file's new owner's user id. -
gid<integer> 文件的新群组的组 ID。¥
gid<integer> The file's new group's group id.
设置文件的所有者。返回 undefined。
¥Sets the owner of the file. Returns undefined.
有关更多详细信息,请参阅 POSIX fchown(2) 文档。
¥See the POSIX fchown(2) documentation for more detail.