Skip to main content
promises.lchown - fs - Node documentation
function promises.lchown

Usage in Deno

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