Save Mode

From: Date: Thu, 03 Apr 2003 15:55:27 +0000
Subject: Save Mode
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-9060@lists.php.net to get a copy of this message
Hi, I am a little bit confused. I've configured my Apache/Linux/PHP with save_mode=On. The Apache is running under uid:gid wwwrun:www and change on virtual servers to a-virtual-user:a-virtual-group. This is working fine. On Smarty engine I've disabled the cache. On compile time Smarty will create some directories in the Smarty::compile_dir and try to create some files in the sub directories. So far so nice, but it doesn't work: The directory is created with uid:gid wwwrun:www, but in the next step, the file is tried to be created with uid:gid a-virtual-user:a-virtual-group. So I've got an error, which is correct in save_mode. But why Smarty creates the directory as wwwrun and not as the given user? For now, the solution is to set Smarty::use_sub_dirs to false. Any hints? -- Hinrich Donner

« previous php.smarty.general (#9060) next »