code: def fix_group_permissions():
      """Fixes permissions of all the files and directories that have group-write access."""
      if get_verbose():
          get_console().print("[info]Fixing group permissions[/]")
      files_to_fix_result = run_command(
          ["git", "ls-files", "./"], capture_output=True, text=True
      )
      if files_to_fix_result.returncode == 0:
          files_to_fix = files_to_fix_result.stdout.strip().splitlines()
          for file_to_fix in files_to_fix:
              change_file_permission(Path(file_to_fix))
      directories_to_fix_result = run_command(
          ["git", "ls-tree", "-r", "-d", "--name-only", "HEAD"],
          capture_output=True,
          text=True,
      )
      if directories_to_fix_result.returncode == 0:
          directories_to_fix = (
              directories_to_fix_result.stdout.strip().splitlines()
          )
          for directory_to_fix in directories_to_fix:
              change_directory_permission(Path(directory_to_fix))
  
imports: from __future__ import annotations
  import atexit
  import contextlib
  import os
  import re
  import shlex
  import shutil
  import signal
  import stat
  import subprocess
  import sys
  from functools import lru_cache
  from pathlib import Path
  from typing import Mapping, Union
  from rich.markup import escape
  from airflow_breeze.utils.ci_group import ci_group
  from airflow_breeze.utils.console import Output, get_console
  from airflow_breeze.utils.path_utils import AIRFLOW_SOURCES_ROOT, WWW_ASSET_COMPILE_LOCK, WWW_ASSET_HASH_FILE, WWW_ASSET_OUT_DEV_MODE_FILE, WWW_ASSET_OUT_FILE, WWW_NODE_MODULES_DIR, WWW_STATIC_DIST_DIR
  from airflow_breeze.utils.shared_options import get_dry_run, get_verbose
label_desc: Use image node_id 9 for calling a global function with example usage: fix_group_permissions() without return types