##!/bin/bash
PERM=777
OWN=root
GRP=root
DIRS="/mnt/raidC/mirror"
DIRS="$DIRS /mnt/raidC/website"

for i in $DIRS; do
	echo "Changing Permissions on $i"
	chmod $PERM -R $i
	echo "Changing Owner on $i"
	chown $OWN -R $i
	echo "Changing Group on $i"
	chgrp $GRP -R $i
done
