promises.lchown - Node documentation
function promises.lchown

Usage in Deno

import { promises } from "node:fs";
const { lchown } = promises;
lchown(
path: PathLike,
uid: number,
gid: number,
): Promise<void>

Changes the ownership on a symbolic link.

Parameters

path: PathLike
uid: number
gid: number

Return Type

Promise<void>

Fulfills with undefined upon success.