For whatever bizzare reason, I have 2 users (they are actually utility  
users, not real ones) trying to write to the same template compiled  
directory (one is the webservd user, the other is a crontab user that  
is created some cached HTML pages using the same codebase).

The directories created by Template::Provider are created by  
File::Path->mkpath which states "The numeric permissions mode to apply  
to each created directory (defaults to 0777), to be modified by the  
current umask. "   The directories created by Template::Provider are  
1755 (drwxr-sr-x).  My problem would be solved if they were 775.  I  
could just change them at the terminal, but I would have to actually  
touch all the templates to do this.  Plus, not very portable!

So does it default to 0777 or the user umask?  As near as I can tell,  
umask is never set by Template::* but I didn't do an exaustive check.

Anyone ever try to change the umask for Template::Provider?

Ben
--
Ben Hitz
Senior Scientific Programmer ** Saccharomyces Genome Database ** GO  
Consortium
Stanford University ** [EMAIL PROTECTED]




_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to