[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Critical System Editor Tips.
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Critical System Editor Tips.
- From: Buchan Milne <bgmilne (at) staff.telkomsa.net>
- Date: Wed, 9 Jun 2010 11:04:41 +0100
- Cc: David Baldwin <david.baldwin (at) ausport.gov.au>
- References: <8A82C7A8DFD13048B6717BBFA72CF57406242FA0 (at) prmsdcex01.premier.local> <8A82C7A8DFD13048B6717BBFA72CF574062430BB (at) prmsdcex01.premier.local> <4C0F5850.4080502 (at) ausport.gov.au>
- User-agent: KMail/1.12.4 (Linux/2.6.31.13-desktop-1mnb; KDE/4.3.5; x86_64; ; )
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