This happens on Linux machine due to permission issue even when logged on as root; and we need to provide full rights to the user on the Splunk/etc directory. Once done, it will allow itself to be copied.
Use Chmod 777 -R command to update the file/folder rights
... View more