[Templates] Controlling the permissions of COMPILE_DIR
Simon Wilcox
essuu@ourshack.com
Fri, 3 Feb 2006 17:13:09 +0000 (GMT)
On Fri, 3 Feb 2006, Matthew Adams wrote:
> I have a situation where I have two different Apache servers running under
> two different users.
Are you trying to share templates between these two servers or are they
entirely separate ?
> 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.
If you're not sharing templates then I would go for different compile
directories /tmp/ttc/apache1 and /tmp/ttc/apache2
Even if you are trying to share them, there probably isn't that much
saving to be had in shaving off the second compilation phase.
Simon.
--
"Counterpoint the surrealism of the underlying metaphor"