Skip to main content
method FileHandle.chown
FileHandle.chown(
uid: number,
gid: number,
): Promise<void>
Deprecated

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

Parameters

uid: number

The file's new owner's user id.

gid: number

The file's new group's group id.

Return Type

Promise<void>

Fulfills with undefined upon success.

Back to top