fchmodSync - Node documentation
function fchmodSync

Usage

import { fchmodSync } from "node:fs";

Sets the permissions on the file. Returns undefined.

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

Parameters

fd: number
mode: Mode

Return Type

void