Excellent observation. I did just that. Below is a function that recursively sets permissions to 777, to allow me to delete everything. I didn't use glob() because the target system doesn't have ...
I got Smarty working fine, but "nobody" wrote the compiled templates in subdirectories of templates_c, with permissions 755, owned by nobody:nobody. Unfortunately, this is on a hosted account, ...