#!/bin/sh ROOT_PATH=/tmp find $ROOT_PATH -type d -exec chmod -v 775 {} \; find $ROOT_PATH -type f -exec chmod -v 664 {} \;