vertx / io.vertx.core.file / FileSystem / chown

chown

abstract fun chown(path: String, user: String, group: String, handler: Handler<AsyncResult<Void>>): FileSystem

Change the ownership on the file represented by path to user and {code group}, asynchronously.

Parameters

path - the path to the file

user - the user name, null will not change the user name

group - the user group, null will not change the user group name

handler - the handler that will be called on completion

Return
a reference to this, so the API can be used fluently