RE: [SMARTY] changing template_c ownership
| From: | Gary Loescher | Date: | Wed, 14 Aug 2002 14:01:26 +0000 |
| Subject: | RE: [SMARTY] changing template_c ownership | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-5699@lists.php.net to get a copy of this message | ||
I think you need to do
chown nobody:greg templates_c
instead. This is how I got it to work on my host, anyway.
You want the group to be sticky with your group name,
not web server's name, and chown syntax is <user>:<group>.
Of course, it would be nice if you could make the _user_
sticky, but that doesn't work AFAIK.
Gary
>-----Original Message-----
>From: Greg Elisara [mailto:greg@dreamlabs.co.nz]
>Sent: Wednesday, August 14, 2002 3:43 AM
>To: Rob Schumann; smarty-general@lists.php.net
>Subject: Re: [SMARTY] changing template_c ownership
>
>
>my host was happy to set these permissions up for me
>and smarty seems to be
>working. template_c is now set to greg:nobody and i did
>the chmod's myself
>just to make sure. BUT the dirs in templates_c are
>still being created as
>nobody:nobody rather than greg:nobody
>
>i also did a mkdir from inside template_c to see if the
>group setting stuck
>- ownership was set to greg:greg - with the chmod g+s,
>should this not be
>set to greg:nobody?
>
>any ideas on what is going on here?
>
>thx. greg.
>
>> chown greg:nobody templates_c
>> chmod 775 templates_c
>> chmod g+s templates_c
>
>
>--
>Smarty General Mailing List (http://smarty.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>