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

Usage in Deno

import { lchown } from "node:fs";
lchown(
path: PathLike,
uid: number,
gid: number,
callback: NoParamCallback,
): void

Set the owner of the symbolic link. No arguments other than a possible exception are given to the completion callback.

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

Parameters

path: PathLike
uid: number
gid: number
callback: NoParamCallback

Return Type

void