chown - Node documentation
function chown

Usage in Deno

import { chown } from "node:fs";
chown(
path: PathLike,
uid: number,
gid: number,
callback: NoParamCallback,
): void

Asynchronously changes owner and group of a file. No arguments other than a possible exception are given to the completion callback.

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

Parameters

path: PathLike
uid: number
gid: number
callback: NoParamCallback

Return Type

void