Page 2 of 2

Re: Web Inject config files not removing

Posted: Tue Nov 25, 2014 4:29 pm
by krobertson71
I could delete the directory as Nagios yes... but not the files inside of it. The file permissions, look at the screenshot in the first post, themselves are group r world r. Which means members of the nagios group can only read the file.

I could delete the webinject directory but that would nuke the plugin as well.

Can you show me your file permissions within the webinject directory?

Re: Web Inject config files not removing

Posted: Tue Nov 25, 2014 4:33 pm
by tmcdonald
This is mine:

Code: Select all

$ ls -l /usr/local/nagiosxi/etc/components/webinject/
total 72
-rwxrwxr-x 1 apache nagios 63271 Sep 30 22:06 webinject.pl
-rw-r--r-- 1 apache nagios   228 Nov 24 16:12 www_nagios_com__Web_Transaction_config.xml
-rw-r--r-- 1 apache nagios    94 Nov 24 16:12 www_nagios_com__Web_Transaction_testdata.xml
Do you not have the writable flag? Is there a umask on your system?

Code: Select all

umask

Re: Web Inject config files not removing

Posted: Tue Nov 25, 2014 8:14 pm
by krobertson71
ummmm I figured out my very stupid mistake...

I was trying to sudo rm.

Sorry been using sudo all day for other things unrelated.

I am so sorry for the wasted time.