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

Usage in Deno

import { fchmod } from "node:fs";
fchmod(
fd: number,
mode: Mode,
callback: NoParamCallback,
): void

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