[Templates] Controlling the permissions of COMPILE_DIR

Matthew Adams madams@phantomware.ca
Fri, 3 Feb 2006 10:44:36 -0500 (EST)


Hello fellow TT users:

I have a situation where I have two different Apache servers running under
two different users.

I am using TT with both of these Apache/mod_perl applications and want to
use the COMPILE_DIR option to save the compiled templates to disk (I have
read that reading previously compiled templates is faster than recompiling
them every request).

My problem is I end up having a directory - say /tmp/ttc - created by one
of the Apache servers with the permissions 0755.

This causes obvious problems for the second server because it can't create
directories under /tmp/ttc.

I would like, if at all possible, to be able to use one directory /tmp/ttc
and have the two Apache servers use their usual paths under /tmp/ttc.

Any thoughts on how I might go about doing this would be greatly
appreciated!


Thanks,

Matt
--
Matt Adams <madams@phantomware.ca>