code: def make_dirs(name, mode=0o0777, exist_ok=False):
      """Permissive version of `os.makedirs` that gives full permissions by default
  
      Parameters
      ----------
      name: Str
          Path/name of directory to create. Will make intermediate-level directories needed to contain
          the leaf directory
      mode: Number, default=0o0777
          File permission bits for creating the leaf directory
      exist_ok: Boolean, default=False
          If False, an `OSError` is raised if the directory targeted by `name` already exists
      """
      old_mask = os.umask(000)
      os.makedirs(name, mode=mode, exist_ok=exist_ok)
      os.umask(old_mask)
  
imports: from hyperparameter_hunter.settings import G
  from contextlib import suppress
  from inspect import signature
  import numpy
  import os
  import os.path
  import pandas
  import simplejson
  from typing import Union
  import wrapt
label_desc: Use image node_id 6 for calling a global function with example usage: make_dirs(name, mode, exist_ok) without return types