Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

std/node/fs.ts>chown

Deno standard library
Go to Latest
function chown
Re-export
import { chown } from "https://deno.land/std@0.148.0/node/fs.ts";

Asynchronously changes the owner and group of a file.

Parameters

path: string | Buffer | URL
uid: number
gid: number
callback: CallbackWithError