code: def chmod(self, path, mode, recursive=False):
          
          args = {
              'path': path,
              'mode': mode,
              'recursive': recursive,
          }
  
          return self._client.json('filesystem.chmod', args)
docs: Change file/dir permission
  
          :param path: path of file/dir to change
          :param mode: octet mode
          :param recursive: apply chmod recursively
          :return: