Change permissions to 666 for all *.tpl files in /templates folder recursively. Will this work?
find /template -type f \( -iname "*.tpl" \) | xargs chmod -R 666
This looks like a correct command, but I added the -R and I am not sure about that part. Files recursively? What would they mean? I guess it will all the files with *.tpl extension and chmod them to 666. Why would I need to do it recursively and what does it mean? Is this not what I need to do?
find /template -type f \( -iname "*.tpl" \) | xargs chmod 666