function Deno.chown
chown(path: string | URL,uid: number | null,gid: number | null,): Promise<void>
Change owner of a regular file or directory.
This functionality is not available on Windows.
```ts
await Deno.chown("myFile.txt", 1000, 1002);
```
Requires `allow-write` permission.
Throws Error (not implemented) if executed on Windows.
Promise<void>