fs.chownSync(path, uid, gid)
同步地更改文件的所有者和群组。返回 undefined。这是 fs.chown() 的同步版本。
¥Synchronously changes owner and group of a file. Returns undefined.
This is the synchronous version of fs.chown().
有关更多详细信息,请参阅 POSIX chown(2) 文档。
¥See the POSIX chown(2) documentation for more detail.