Re: [SMARTY] templates_c and rights
| From: | Monte Ohrt | Date: | Mon, 16 Dec 2002 22:31:44 +0000 |
| Subject: | Re: [SMARTY] templates_c and rights | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-6848@lists.php.net to get a copy of this message | ||
user nobody can't change the owner of the file, but you could make the
file 666 (or 777 for directory) to have access to delete it. Either
change the file permissions in smarty (look for 0644 and 0771), or write
a php script that changes the ownership for you.
On Mon, 2002-12-16 at 16:20, Mattia wrote:
> i have a problem by files and dirs created by smarty . I cannot remove them
> any more because they are created under user nobody (the apache user) with
> the wrong rights. Is there a smarty function, or somewhere to hack the code,
> where I can solve the prob? Make smarty write with different rights, or
> change the owner?
>
> tia
--
Monte Ohrt <monte@ispi.net>