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

Usage in Deno

```typescript import { fchown } from "node:node__fs.d.ts"; ```
fchown(
fd: number,
uid: number,
gid: number,
callback: NoParamCallback,
): void
Sets the owner of the file. No arguments other than a possible exception are given to the completion callback. See the POSIX [`fchown(2)`](http://man7.org/linux/man-pages/man2/fchown.2.html) documentation for more detail.

Parameters

fd: number
uid: number
gid: number
callback: NoParamCallback

Return Type

void