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

Usage in Deno

import { lchmod } from "node:fs/promises";
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.