fchownSync

external fun fchownSync(fd: Number, uid: Number, gid: Number)(source)

Sets the owner of the file. Returns undefined.

See the POSIX fchown(2) documentation for more detail.

Since

v0.4.7

Parameters

uid

The file's new owner's user id.

gid

The file's new group's group id.