Hello,
I'm sure I've seen this before, but I can't remember how to fix it. I'm getting this error when I apply changes with reconfigure_nagios.sh
tar: Removing leading `/' from member names
tar: usr/local/nagios/etc/cfgprep/servicetemplates: Cannot utime: Operation not permitted
tar: usr/local/nagios/etc/cfgprep/servicetemplates: Cannot change mode to rwxrwxr-x: Operation not permitted
tar: usr/local/nagios/etc/cfgprep/hosts: Cannot utime: Operation not permitted
tar: usr/local/nagios/etc/cfgprep/hosts: Cannot change mode to rwxrwxr-x: Operation not permitted
tar: usr/local/nagios/etc/cfgprep/contacts: Cannot utime: Operation not permitted
tar: usr/local/nagios/etc/cfgprep/contacts: Cannot change mode to rwxrwxr-x: Operation not permitted
tar: usr/local/nagios/etc/cfgprep/timeperiods: Cannot utime: Operation not permitted
tar: usr/local/nagios/etc/cfgprep/timeperiods: Cannot change mode to rwxrwxr-x: Operation not permitted
tar: usr/local/nagios/etc/cfgprep/services: Cannot utime: Operation not permitted
tar: usr/local/nagios/etc/cfgprep/services: Cannot change mode to rwxrwxr-x: Operation not permitted
...
tar: Exiting with failure status due to previous errors
What permissions am I supposed to change?
tar: ../servicetemplates: Cannot utime: Operation not permit
-
kendallchenoweth
- Posts: 195
- Joined: Fri Sep 13, 2013 10:43 am
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: tar: ../servicetemplates: Cannot utime: Operation not pe
Hello, @kendallchenoweth.
Please run the following command to reset the config permissions.
That should fix that for you.
Please run the following command to reset the config permissions.
Code: Select all
/usr/local/nagiosxi/scripts/reset_config_perms.shAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.