tar: ../servicetemplates: Cannot utime: Operation not permit

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
kendallchenoweth
Posts: 195
Joined: Fri Sep 13, 2013 10:43 am

tar: ../servicetemplates: Cannot utime: Operation not permit

Post by kendallchenoweth »

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?
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: tar: ../servicetemplates: Cannot utime: Operation not pe

Post by npolovenko »

Hello, @kendallchenoweth.
Please run the following command to reset the config permissions.

Code: Select all

/usr/local/nagiosxi/scripts/reset_config_perms.sh
That should fix that for you.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked