code: def chown_r(path: str, user: str, group: str) -> None:
      
      for root, dirs, files in os.walk(path):
          for x in dirs:
              shutil.chown(os.path.join(root, x), user, group)
          for x in files:
              shutil.chown(os.path.join(root, x), user, group)
docs: Performs a recursive ``chown``.
  
      Args:
          path: path to walk down
          user: user name or ID
          group: group name or ID
  
      As per http://stackoverflow.com/questions/2853723