Nfchown
Bun

namespace

fs.fchown

function fchown(
fd: number,
uid: number,
gid: number,
callback: NoParamCallback
): void;

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.

namespace fchown