weird permissions problem

Fredrik Wänglund fredrik.wanglund at mobeon.com
Mon Jan 19 13:11:12 CET 2004


If the WEB-server is not run by the user 'vickersg', then it's the
expected behaviour.

The files must be readable by the user (or group) that runs the WEB-server.


/FredrikW



Greg Vickers wrote:

> Hi all,
> 
> I'm running Nagios 1.1 under Debian and I have observed this strange 
> problem:
> 
> If any of my config files are permissions o-r, I get 'not authorized' 
> for any host/service in Nagios.
> 
> Here is a sample of a config file:
> vickersg at host:/etc/nagios/objects/hostgroups/blah/blah/blah$ ll
> total 4
> -rw-rw-r--    1 vickersg nagios        164 Jan 19 20:50 
> servers.hostgroup.cfg
> 
> If I 'chmod o-r servers.hostgroup.cfg' then the web page won't show me 
> any information at all.
> 
> Has anyone else seen this problem or am I just thinking strangely?
> 
> 
> =================================
> Greg Vickers
> Computer Systems Officer
> Student Support and Systems,
> Teaching and Learning Support Systems,
> Queensland University of Technology,
> Kelvin Grove Campus,
> Brisbane,
> Australia
> 
> CRICOS No 00213J
> 
> Ph: 07 3864 8276 Fax: 07 3864 5425
> Mob: 0416 001 674 SD: #66147
> 
> 
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when 
> reporting any issue. ::: Messages without supporting info will risk 
> being sent to /dev/null





-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list