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

Usage in Deno

```typescript import { fchmod } from "node:node__fs.d.ts"; ```
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)`](http://man7.org/linux/man-pages/man2/fchmod.2.html) documentation for more detail.

Parameters

fd: number
mode: Mode
callback: NoParamCallback

Return Type

void