vertx / io.vertx.core.file / FileSystem / chmod

chmod

abstract fun chmod(path: String, perms: String, handler: Handler<AsyncResult<Void>>): FileSystem

Change the permissions on the file represented by path to perms, asynchronously.

The permission String takes the form rwxr-x--- as specified here.

Parameters

path - the path to the file

perms - the permissions string

handler - the handler that will be called on completion

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