tar: ../servicetemplates: Cannot utime: Operation not permit
Posted: Fri Feb 09, 2018 3:31 pm
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?
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?