fchownSync - Node documentation
function fchownSync

Usage in Deno

import { fchownSync } from "node:fs";
fchownSync(
fd: number,
uid: number,
gid: number,
): void

Sets the owner of the file. Returns undefined.

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

Parameters

fd: number
uid: number

The file's new owner's user id.

gid: number

The file's new group's group id.

Return Type

void