[Kolab-devel] Horde temporary dir in kolab 2.2 beta3

Gunnar Wrobel wrobel at pardus.de
Mon Jan 7 09:30:51 CET 2008


Gelpi Andrea <liste at gelpi.it> writes:

> Gunnar Wrobel wrote:
>> Gelpi Andrea <liste at gelpi.it> writes:
>> 
>>> In /kolab/var/kolab/www/horde/config/conf.php this 2 lines point to non existent 
>>> directory.
>>>
>>>
>>> $conf['tmpdir'] = dirname(__FILE__) . '/../../../tmp/horde';
>>> $conf['vfs']['params']['vfsroot'] = dirname(__FILE__) . '/../../../tmp/horde';
>>>
>>>
>>> In my new installation they point to:
>>>
>>> /kolab/lib/php/Horde/../../../tmp/horde
>>>
>>> that does not exist.
>>>
>>> I add:
>>>
>>> mkdir -p /kolab/tmp/horde
>>> chwon -R kolab.kolab /kolab/tmp
>>>
>> 
>> Seems incorrect since
>> 
>> dirname(__FILE__)
>> 
>> in /kolab/var/kolab/www/horde/config/conf.php should evaluate to
>> 
>> /kolab/var/kolab/www/horde/config
>> 
>> and thus $conf['tmpdir'] should point to 
>> 
>> /kolab/var/kolab/www/horde/config/../../../tmp/horde
>> 
>> => 
>> 
>> /kolab/var/kolab/tmp/horde
>> 
>> Where do you get the "/kolab/lib/php/Horde" base directory?
>> 
>> Cheers,
>> 
>> Gunnar
>> 
>
> I login as user manager and I looked at horde configuration file.
> I know (you told me yesterday) that this file is not complete due to kolab.php.
> But in kolab.php there are no overrides for $conf['tmpdir'].
> So I suppose what I was seeing was correct.

There should not be an override for $conf['tmpdir'] in kolab.php.

$conf['tmpdir'] = dirname(__FILE__) . '/../../../tmp/horde';

should be the correct setting in conf.php.

>
> Today in the afternoon I create a phpinfo page and from there I found what you 
> have written before in this note.
>
> I think that having the opportunity to view and also modify the configuration 
> files via manager user could be dangerous or confusing.

Yes, this is true. The current solution is only a workaround.

>
> Don't you think that a warning in 1st.README could be great, do you?

I guess I should rather disable the manager login and fully deny
administration of the horde configuration through the web.

I acknowledge that this still needs some discussion.

Cheers,

Gunnar

>
> -- 
> ing. Andrea Gelpi
> ***************************************************
> La Terra non la abbiamo ereditata dai nostri avi,
> ma la abbiamo presa in prestito dai nostri bambini.
> ***************************************************
>
> _______________________________________________
> Kolab-devel mailing list
> Kolab-devel at kolab.org
> https://kolab.org/mailman/listinfo/kolab-devel

-- 
______ 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 700 6245 0000                          Bundesstrasse 29
Fax    : +49 721 1513 52322                          D-20146 Hamburg
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   >> Mail at ease - Rent a kolab groupware server at p at rdus <<                 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




More information about the devel mailing list