promises.lchmod - Node documentation
function promises.lchmod

Usage in Deno

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

Since v10.0.0

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.