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

Usage in Deno

import { chmodSync } from "node:fs";
chmodSync(
path: PathLike,
mode: Mode,
): void

For detailed information, see the documentation of the asynchronous version of this API: chmod.

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

Parameters

path: PathLike
mode: Mode

Return Type

void
Back to top