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

Usage in Deno

import { lchmod } from "node:fs";
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) documentation for more detail.

Parameters

path: PathLike
mode: Mode
callback: NoParamCallback

Return Type

void
Back to top