Nagios command file not working

Phil Costelloe philc at foundation-it.com
Wed May 7 18:25:44 CEST 2003


> From: Martens, Jason [mailto:jmartens at cityofevanston.org] 

> The permissions on the directory are like this:
> 
> [root at testwebserver var]# ll -d rw
> drwxrwS---    2 nagios   nagiosapache     4096 May  6 16:59 rw

That should be drwxrws--- . The fact that it's a capital S
suggests there isn't execute permission for the group.

chmod g+x rw should fix it, but it's probably safer to do
chmod g-s rw to take the setgid bit off; ls -l to confirm
there's no execute permission; then chmod g+x rw and
chmod g+s rw to set everything correctly.

But chmod g+x rw will work. :)

Phil


-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com

_______________________________________________
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