vertx / io.vertx.reactivex.core.file / FileSystem / rxChmodRecursive

rxChmodRecursive

open fun rxChmodRecursive(path: String, perms: String, dirPerms: String): Completable

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.

Parameters

path - the path to the file

perms - the permissions string

dirPerms - the directory permissions

Return