FlchownSync
Bun

function

fs.lchownSync

function lchownSync(
path: PathLike,
uid: number,
gid: number
): void;

Set the owner for the path. Returns undefined.

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

@param uid

The file's new owner's user id.

@param gid

The file's new group's group id.