[Kolab-devel] permission problem with caching feature

Gunnar Wrobel wrobel at pardus.de
Tue Aug 21 11:48:29 CEST 2007


Hi Sönke,

> We're using horde 3.2 alpha (see exact versions below) together with (kolab2 
> based) Univention Groupware Server and experiencing some trouble with the 
> integrated caching. Sometimes horde outputs messages like this one
>
> Warning: file_get_contents(/tmp/cache_9f1846117c7ec45bb5c0cd5f8f4e8f51): 
> failed to open stream: Permission denied 
> in /usr/share/horde3/lib/Horde/Cache/file.php on line 102
>
> The requested file exists in /tmp but owner and group of that file are 
> root:root with 0664 permissions. Our apache 2.2 is running as user www-data, 
> so horde is unable to read it. Any idea which process creates those temp 
> files and how to solve that problem?

The cache files probably originate from Horde template
processing. Take a look at their contents to be certain. It is
definitely strange that these files are owned by root because they
should have been written by the web server. Maybe they are old files?

On what occasions does Horde display these messages? I assume that you
only see the messages after performing specific actions. Or does it
occur randomly?

In any case the problematic files should NOT originate from the new
caching of Kolab groupware objects. These are named "kolab_cache*".

> used component versions:
>   horde-3.2-alpha.tar.gz
>   gollem-HEAD-2007-08-03.tar.gz
>   imp-HEAD-2007-08-03.tar.gz
>   ingo-HEAD-2007-08-03.tar.gz
>   kronolith-HEAD-2007-08-03.tar.gz
>   mnemo-HEAD-2007-08-03.tar.gz
>   nag-HEAD-2007-08-03.tar.gz
>   turba-HEAD-2007-08-03.tar.gz

Just as a side note though I guess you know that: you will need to
apply some of the patches from current Kolab CVS in order to get the
full compatibility.

Cheers,

Gunnar

-- 
______ http://kdab.com _______________ http://kolab-konsortium.com _

p at rdus Kolab work is funded in part by KDAB and the Kolab Konsortium

____ http://www.pardus.de _________________ http://gunnarwrobel.de _
E-mail : p at rdus.de                                 Dr. Gunnar Wrobel
Tel.   : +49 40 432 72335                           Bundesstrasse 29
Fax    : +49 40 432 70855                            D-20146 Hamburg
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   >> Mail at ease - Rent a kolab groupware server at p at rdus <<                 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




More information about the devel mailing list