Change file permissions recursively (find)
find $DIR_PATH -type f -exec chmod 644 {} \;
Recursively changes the permissions of all files within a specified path to 644.
find $DIR_PATH -type f -exec chmod 644 {} \;
Recursively changes the permissions of all files within a specified path to 644.