functionfs.chownSyncfunction chownSync(path: PathLike,uid: number,gid: number): void;Synchronously changes owner and group of a file. Returns undefined. This is the synchronous version of chown.See the POSIX chown(2) documentation for more detail.Referenced typestype PathLike = string | Buffer | URLValid types for path values in "fs".
Synchronously changes owner and group of a file. Returns undefined. This is the synchronous version of chown.See the POSIX chown(2) documentation for more detail.