fchmod - Node documentation
function fchmod

Usage

import { fchmod } from "node:fs";

Sets the permissions on the file. No arguments other than a possible exception are given to the completion callback.

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

Parameters

fd: number
mode: Mode
callback: NoParamCallback

Return Type

void