Skip to main content
lchown - node__fs.d.ts - Node documentation
function lchown

Usage in Deno

```typescript import { lchown } from "node:node__fs.d.ts"; ```
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)`](http://man7.org/linux/man-pages/man2/lchown.2.html) documentation for more detail.

Parameters

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

Return Type

void