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

Usage in Deno

```typescript import { lchmod } from "node:node__fs.d.ts"; ```
lchmod(
path: PathLike,
mode: Mode,
callback: NoParamCallback,
): void
Deprecated
Since v0.4.7
Changes the permissions on a symbolic link. No arguments other than a possible exception are given to the completion callback. This method is only implemented on macOS. See the POSIX [`lchmod(2)`](https://www.freebsd.org/cgi/man.cgi?query=lchmod&sektion=2) documentation for more detail.

Parameters

path: PathLike
mode: Mode
callback: NoParamCallback

Return Type

void