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

Usage in Deno

import { promises } from "node:fs";
lchmod(
path: PathLike,
mode: Mode,
): Promise<void>
Deprecated

Since v10.0.0

Deno compatibility

The lchmod implementation is a not implemented.

Changes the permissions on a symbolic link.

This method is only implemented on macOS.

Parameters

path: PathLike
mode: Mode

Return Type

Promise<void>

Fulfills with undefined upon success.