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

Usage in Deno

import { lchmodSync } from "node:fs";
lchmodSync(
path: PathLike,
mode: Mode,
): void
Deprecated

Since v0.4.7

Changes the permissions on a symbolic link. Returns undefined.

This method is only implemented on macOS.

See the POSIX lchmod(2) documentation for more detail.

Parameters

path: PathLike
mode: Mode

Return Type

void
Back to top