#!/bin/bash
#
origem=$(pwd)
#
echo $origem
#
IFS=$(echo -en "\n\b")
#
for file in $(find $origem -type d -exec ls -d {} \;); do
    cd $file/
    find . -type f -exec chmod 644 {} \;
done
