[horde] Some of Horde's configuration files are missing:
Mark Worsdall
horde at worsdall.demon.co.uk
Fri Apr 11 12:35:18 PDT 2003
In message <NDBBININCLOELCMLMEBHAEIECDAA.crobins at proexam.org>, Charles
E. Robinson III <crobins at proexam.org> writes
>Check the file permissions of the files in the horde/conf dir.
>
>From: Horde/docs
>
> An additional approach is to make Horde's configuration files
> owned by the user 'root' and by a group which only the webserver
> user belongs to, and then making them readable only to owner and
> group. For example, if your webserver runs as www.www, do as
> follows:
>
> chown root.www config/*
> chmod 0440 config/*
>
well they were... (I am aware of perms on 1st 2 files)
-rwxrw--w- 1 hinwick hinwick 14 Apr 11 14:56 .htaccess
-rwxrw--w- 1 hinwick hinwick 11914 Apr 11 14:13 horde.php
-rw-r----- 1 hinwick hinwick 4861 Apr 11 09:59 html.php
-rw-r----- 1 hinwick hinwick 20463 Apr 11 09:59 lang.php
-rw-r----- 1 hinwick hinwick 9729 Apr 11 09:59 mime_drivers.php
-rw-r----- 1 hinwick hinwick 4936 Apr 11 09:59 mime_mapping.php
-rw-r----- 1 hinwick hinwick 140 Apr 11 09:59 motd.php
-rw-r----- 1 hinwick hinwick 2282 Apr 11 09:59 prefs.php
-rw-r----- 1 hinwick hinwick 15889 Apr 11 09:59 registry.php
become:-
-rwxrw--w- 1 hinwick hinwick 14 Apr 11 14:56 .htaccess
-r--r----- 1 root www 11914 Apr 11 14:13 horde.php
-r--r----- 1 root www 4861 Apr 11 09:59 html.php
-r--r----- 1 root www 20463 Apr 11 09:59 lang.php
-r--r----- 1 root www 9729 Apr 11 09:59 mime_drivers.php
-r--r----- 1 root www 4936 Apr 11 09:59 mime_mapping.php
-r--r----- 1 root www 140 Apr 11 09:59 motd.php
-r--r----- 1 root www 2282 Apr 11 09:59 prefs.php
-r--r----- 1 root www 15889 Apr 11 09:59 registry.php
Still no change.so I tried....
-rwxrw--w- 1 hinwick hinwick 14 Apr 11 14:56 .htaccess
-rw-r--r-- 1 hinwick hinwick 11914 Apr 11 14:13 horde.php
-rw-r--r-- 1 hinwick hinwick 4861 Apr 11 09:59 html.php
-rw-r--r-- 1 hinwick hinwick 20463 Apr 11 09:59 lang.php
-rw-r--r-- 1 hinwick hinwick 9729 Apr 11 09:59 mime_drivers.php
-rw-r--r-- 1 hinwick hinwick 4936 Apr 11 09:59 mime_mapping.php
-rw-r--r-- 1 hinwick hinwick 140 Apr 11 09:59 motd.php
-rw-r--r-- 1 hinwick hinwick 2282 Apr 11 09:59 prefs.php
-rw-r--r-- 1 hinwick hinwick 15889 Apr 11 09:59 registry.php
permissions on the config folder....
drwxr-x--- 2 hinwick hinwick 1024 Apr 11 09:59 config
so I changed this to:
chmod o=rx config
drwxr-xr-x 2 hinwick hinwick 1024 Apr 11 09:59 config
and restarted apache (did this on each change) and finally this
happened:-
a framed page appeared, top part stating this:
Warning: main(/usr/www/hinwick/horde/imp/config/servers.php)
[function.main]: failed to create stream: Permission denied in
/usr/www/hinwick/horde/imp/login.php on line 16
Fatal error: main() [function.main]: Failed opening required
'/usr/www/hinwick/horde/imp/config/servers.php'
(include_path='/usr/local/lib/php:.') in
/usr/www/hinwick/horde/imp/login.php on line 16
So before I change perms all over, how come the Other needs changing and
not User or Group. Apache is running as:-
User nobody
Group nogroup
but all files within the webspace have account hinwick.hinwick
everything else non horde works ok.
M.
>
>-----Original Message-----
>From: horde-bounces at lists.horde.org
>[mailto:horde-bounces at lists.horde.org]On Behalf Of Mark Worsdall
>Sent: Friday, April 11, 2003 2:50 PM
>To: horde at lists.horde.org
>Subject: [horde] Some of Horde's configuration files are missing:
>
>
>Hi,
>
>I have checked the archive but everything suggested is correct. Hope I
>did not miss the answer in the 16Mb archive.
>
>This is running on FreeBSD DorisDay 4.5-STABLE FreeBSD 4.5-STABLE #0:
>
>The agent tested was MSie 5.5 and 6
>
>NB: Imp is doing exactly the same but one thing at a time:-)
>
>This is what happens when help.php is run.
>
>
>Warning: registry(/usr/www/hinwick/horde/lib/../config/registry.php)
>[function.registry]: failed to create stream: Permission denied in
>/usr/www/hinwick/horde/lib/Registry.php on line 102
>
[snip]
--
Mark Worsdall
https://www.paypal.com/refer/pal=LS79YHQ9VUGLJ
More information about the horde
mailing list