Skip to main content
chmodSync - node__fs.d.ts - Node documentation
function chmodSync

Usage in Deno

```typescript import { chmodSync } from "node:node__fs.d.ts"; ```
chmodSync(
path: PathLike,
mode: Mode,
): void
For detailed information, see the documentation of the asynchronous version of this API: [chmod](../.././node__fs.d.ts/~/chmod). See the POSIX [`chmod(2)`](http://man7.org/linux/man-pages/man2/chmod.2.html) documentation for more detail.

Parameters

path: PathLike
mode: Mode

Return Type

void