[hobbit] Critical System Editor Tips.

Buchan Milne bgmilne at staff.telkomsa.net
Wed Jun 9 12:04:41 CEST 2010


On Wednesday, 9 June 2010 10:01:04 David Baldwin wrote:
> Neil Franken wrote:
> > Hi Quick Follow up.
> >
> > I checked the hobbit-nkview.cfg, hobbit-nkview.cfg.bak files and I found
> > a  xymon-nkview.cfg.bak. All remain empty and according to the man pages
> > this is where the critical systems should be written to. SO I think I
> > have a permissions issue. I checked the permissions of the files and the
> > hobbit-nkview files belong to root and the group is also root they have
> > the 664 permissions applied. The xymon-nkview.cfg.bak belongs to root
> > and the group is apache. I am getting a little confused now and not sure
> > how to solve this problem.
> >
> > Hope someone out there has a idea.

Quite obviously, the user running the CGI needs to be able to write to the 
file. The appropriate permissions fix is one of:

apache:xymon 640
xymon:apache 660
root:apache 664

> On my system those files are writeable by the hobbit user and group. Not
> sure if suexec is required in apache to make this work. First pass you
> could make permissions 777.

IMHO, no one should *ever* suggest 777 as a fix ...

Regards,
Buchan



More information about the Xymon mailing list