changing template_c ownership
| From: | Greg Elisara | Date: | Tue, 13 Aug 2002 11:31:42 +0000 |
| Subject: | changing template_c ownership | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-5661@lists.php.net to get a copy of this message | ||
hi, i'm trying to use smarty in a hosted site situation. this is obviously a
multi-user site and there are security measures in place to protect
everyone. one of these measures is all files and directories created are
owned by the user and in group owned by the user group (eg greg:greg) and
chmod to any else is not permitted.
problem is, webserver runs under nobody:nobody and smarty creates compile
subdirectories using this as the owner:group - result is chmod failures and
nobody:nobody directories i cannot do anything with. (i could be wrong here,
but i thought if i chown'ed templates_c to greg:greg then all subdirs
created by smarty under templates_c would be greg:greg - my experience here
tends to suggest otherwise as they are being created as nobody:nobody).
is there a smarty configuration/attribute that changes this behaviour so
that dirs are created to user:group of the user rather than that of the
webserver? if not, any pointers about how i can hardwire this (really like
to get smarty working for me).
thx. greg.