code: def chmod(config):
      
      output_dir = config["output_dir"]
      for dirpath, dirnames, filenames in os.walk(output_dir):
          for dirname in dirnames:
              os.chmod(os.path.join(dirpath, dirname), 0755)
          for filename in filenames:
              os.chmod(os.path.join(dirpath, filename), 0644)
docs: Set correct file permissions.