[horde] Help New Install Horde Webmail

Steve Devine sd at msu.edu
Mon Aug 11 23:43:33 UTC 2008


andrewfeberwee at hatchnet.com.au wrote:
> I think you have to change the ownership of all horde files to whatever
> apache is running as , try
>
> ps -ef | grep apache
>
> to get the user, in my case, a typical return line is
>
> wwwrun   22680 22678  0 Aug11 ?        00:00:08 /usr/sbin/httpd2-prefork
> -f /etc/apache2/httpd.conf
>
> Which shows apache running as wwwrun.  Then change all horde files from
> the top down to that owner
>
> cd /locationofhorde
> chown -R wwwrun horde-webmail-1.1
>
> And in my case, I changed the group to a user group
>
> chgrp -R users horde-webmail-1.1
>
> Hope that helps
>
>
>
>   
>> Next to install Horde Webmail 1.1.1 i have the next problem on the login
>> page
>>
>>
>> *Warning*: file_get_contents(/tmp/cache_9f1846117c7ec45bb5c0cd5f8f4e8f51)
>> [
>> function.file-get-contents<http://192.168.12.197/imp/function.file-get-contents>]:
>> failed to open stream: Permission denied in *
>> /var/www/html/horde/lib/Horde/Cache/file.php* on line *101
>> **Warning*: file_get_contents(/tmp/cache_369392975c342e1f370936d75cce3031)
>> [
>> function.file-get-contents]: failed to open stream: Permission denied in *
>> /var/www/html/horde/lib/Horde/Cache/file.php* on line *101*
>> *
>>
>> *The permission are:
>> [root at ns Cache]# ll
>> total 52
>> -rw-r--r-- 1 root root  2980 Jun 13 18:55 apc.php
>> -rw-r--r-- 1 root root  3085 Jun 13 18:55 eaccelerator.php
>> -rw-r--r-- 1 root root  9411 Jun 13 18:55 file.php
>> -rw-r--r-- 1 root root  4166 Jun 13 18:55 memcache.php
>> -rw-r--r-- 1 root root 13383 Jun 13 18:55 sql.php
>> -rw-r--r-- 1 root root  3656 Jun 13 18:55 xcache.php
>> -rw-r--r-- 1 root root  2116 Jun 13 18:55 zps4.php
>> [root at ns Cache]#*
>>
>>
>> *What is the problem*??
>>
>> JC
>> *
>> --
>> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>>
>>     
>
> --
> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>
>   
Thats a bit scary. You are effectively changing your config files so 
they are owned by the web server. If an exploit comes around that allows 
compromise of the webserver you might regret that decision.
I agree this may be a permissions issue but I would rather not see the 
whole horde install chowned.
/sd


-- 
Steve Devine
Email & Storage
Academic Technical Services
Michigan State University

313 Computer Center
East Lansing, MI 48824-1042
1-517-432-7327

Baseball is ninety percent mental; the other half is physical.
- Yogi Berra



More information about the horde mailing list