code: def chmod(self, path, permissions, recursive=False):
          
          if type(permissions) == str:
              permissions = int(permissions, 8)
          return list(self.get_bite().chmod(self.list_path(path),
                                            permissions, recursive))
docs: Use snakebite.chmod, if available.
  
          :param path: update-able file(s)
          :type path: either a string or sequence of strings
          :param permissions: \\*nix style permission number
          :type permissions: octal
          :param recursive: change just listed entry(ies) or all in directories
          :type recursive: boolean, default is False
          :return: list of all changed items