'Set permissions of an existing file or directory.
Parameters:
- ctx
- path: Path of the file or directory.
- perms: New permissions for the file or directory.'

def chmod(self, ctx, path, perms):

    self.send_chmod(ctx, path, perms)
    self.recv_chmod()
