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

Usage in Deno

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

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
Back to top