lchmod - Node documentation
function lchmod

Usage

import { lchmod } from "node:fs/promises";

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.