chown

external fun chown(path: PathLike, uid: Number, gid: Number, callback: NoParamCallback)(source)

Asynchronously changes owner and group of a file. No arguments other than a possible exception are given to the completion callback.

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

Since

v0.1.97


suspend external fun chown(path: PathLike, uid: Number, gid: Number): Void(source)