#!/bin/bash

# Start in the current directory
find . -type d -print0 | while IFS= read -r -d '' dir; do
    echo "Processing directory: $dir"
    sudo chmod 775 "$dir"/*
done
