fchown - Node documentation
function fchown

Usage

import { fchown } from "node:fs";

Sets the owner of the file. No arguments other than a possible exception are given to the completion callback.

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

Parameters

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

Return Type

void