Xymon Mailing List Archive search

Hobbit 4.2 alfa release available

list Buchan Milne
Tue, 11 Apr 2006 10:06:40 +0200
Message-Id: <user-5423b126067f@xymon.invalid>

On Wednesday 05 April 2006 22:07, Henrik Stoerner wrote:
On Wed, Apr 05, 2006 at 06:04:37PM +0200, Etienne Roulland wrote:
You should be able to edit it with the hobbit-nkedit CGI.
Even if i create the file with the rw rights i cannot play with
hobbit-nkedit CGI..
Mea culpa. hobbit-nkedit.cgi needs write access to the ~hobbit/server/etc/
directory (it creates a temporary file which is then renamed into the
real configuration file). So

   chmod g+w ~hobbit/server/etc
   chown nobody ~hobbit/server/etc

(substitute the real group-ID that your webserver uses).
Would it be possible to put this file in a different directory (or do away with the temporary file)? This requirement would mean that the user running the webserver (or in your example any member of the group 'nobody') would be able to delete all hobbit config files (unless they are set to be sticky), which is not suitable for some environments/requirements etc.

Regards,
Buchan

-- 
Buchan Milne
ISP Systems Specialist
B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)