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?
Web Inject config files not removing
-
krobertson71
- Posts: 444
- Joined: Tue Feb 11, 2014 10:16 pm
Re: Web Inject config files not removing
This is mine:
Do you not have the writable flag? Is there a umask on your system?
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
Code: Select all
umaskFormer Nagios employee
-
krobertson71
- Posts: 444
- Joined: Tue Feb 11, 2014 10:16 pm
Re: Web Inject config files not removing
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.
I was trying to sudo rm.
Sorry been using sudo all day for other things unrelated.
I am so sorry for the wasted time.