Re: [SMARTY] Resolving permissions
| From: | Jason Sweat | Date: | Tue, 03 Sep 2002 01:15:31 +0000 |
| Subject: | Re: [SMARTY] Resolving permissions | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-5915@lists.php.net to get a copy of this message | ||
It does not sound like you are questioning the standard directory
permissions issue, but rather what the scripts in you php library path need
to be.
If this your question, they just need to be readable by the web server user.
chmod o+r *.php
in that directory should do the trick for you.
HTH
Jason
----- Original Message -----
From: "Alan McFarlane" <amcfarlane@bigfoot.com>
To: <smarty-general@lists.php.net>
Sent: Monday, September 02, 2002 7:09 PM
Subject: [SMARTY] Resolving permissions
> This is probably slightly off-topic but...
>
> I have a unix machine running Apache/PHP/Smarty. Smarty is installed
outside
> of the main ServerRoot path (I installed it in /usr/local/lib/smarty, and
> made sure that php.ini's include_path has been modified to suit.
>
> Now, although I can create a smarty object, smarty is unable to 'stat' the
> plugins. I presume this is because of a file permission error.
>
> Apache runs in standalone mode being started by root but changes to user:
> wwwrun, group: nogroup.
> PHP scripts therefore run as wwwrun:nogroup?
>
> So how do I set the appropriate file permissions?
>
> --
> Alan
>
>
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>