method FileHandle.chown
Usage in Deno
import { type FileHandle } from "node:fs/promises";
FileHandle.chown(uid: number,gid: number,): Promise<void>
Changes the ownership of the file. A wrapper for chown(2)
.
Promise<void>
Fulfills with undefined
upon success.