open fun chmodRecursive(path: String, perms: String, dirPerms: 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 in {here}.
If the file is directory then all contents will also have their permissions changed recursively. Any directory permissions will be set to dirPerms, whilst any normal file permissions will be set to perms.
perms - the permissions string
dirPerms - the directory permissions
handler - the handler that will be called on completion
Return
a reference to this, so the API can be used fluently