lchownSync

external fun lchownSync(path: PathLike, uid: Number, gid: Number)(source)

Set the owner for the path. Returns undefined.

See the POSIX lchown(2) documentation for more details.

Parameters

uid

The file's new owner's user id.

gid

The file's new group's group id.