#
find . -type d -exec ls -ld {} \; | egrep -ve "r.xr.xr.x"

if($status == "0") then

#the grep command found something because it finished with status zero

echo " "
echo "----------------------------------------------------"
echo " The above directories do not have ugo rx permission"
echo " This makes them unreadable to some users           "
echo "----------------------------------------------------"

endif