lchownSync - Node documentation
function lchownSync

Usage in Deno

import { lchownSync } from "node:fs";
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.

Parameters

path: PathLike
uid: number

The file's new owner's user id.

gid: number

The file's new group's group id.

Return Type

void