chownAsync

abstract fun chownAsync(uid: Number, gid: Number): <Error class: unknown class><<Error class: unknown class>>(source)

Changes the ownership of the file. A wrapper for chown(2).

Since

v10.0.0

Return

Fulfills with undefined upon success.

Parameters

uid

The file's new owner's user id.

gid

The file's new group's group id.