PowerProtect Cyber Recovery: NetWorker Automated Recovery Fails with Permission Denied
Summary: NetWorker automated recovery fails with "Failed to run task recoverapp. Process exited with status 1 stderr: cp: Cannot create a regular file '/etc/hosts_nw_recovery_1699270444': Permission denied" ...
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
NetWorker automated Recovery fails with the below error in the
apps.log on the Cyber Recovery host:
[2023-11-06 11:34:05.021] [INFO] [apps] [ddssh.go:339 func1()] : Running: x.x.x.x:22 cp -p /etc/hosts /etc/hosts_nw_recovery_1699270444 [2023-11-06 11:34:05.043] [ERROR] [apps] [ddssh.go:346 func1()] : Failed to run: 'cp -p /etc/hosts /etc/hosts_nw_recovery_1699270444' err: Process exited with status 1 stderr: cp: cannot create regular file '/etc/hosts_nw_recovery_1699270444': Permission denied [2023-11-06 11:34:05.043] [DEBUG] [apps] [ddssh.go:369 RunSSHCmdWithTimeout()] : Exiting [2023-11-06 11:34:05.043] [DEBUG] [apps] [ddssh.go:276 RunSSH()] : Exiting [2023-11-06 11:34:05.043] [ERROR] [apps] [appsUtils.go:146 BackupHostFile()] : Process exited with status 1 stderr: cp: cannot create regular file '/etc/hosts_nw_recovery_1699270444': Permission denied cp: cannot create regular file '/etc/hosts_nw_recovery_1699270444': Permission denied [2023-11-06 11:34:05.043] [DEBUG] [apps] [appsUtils.go:149 BackupHostFile()] : Exiting [2023-11-06 11:34:05.043] [ERROR] [apps] [RecoverNetWorkerApp.go:184 NWPreRecovery()] : Unable to create backup copy of /etc/hosts on x.x.x.x
Cause
The NetWorker asset is configured in Cyber Recovery with a user other than the root user. As stated in the product guide, the NetWorker application must be added with the root user.
Resolution
Edit the NetWorker application in Cyber Recovery and configure with the root user.
Affected Products
Cyber Recovery SeriesProducts
Cyber Recovery SeriesArticle Properties
Article Number: 000220527
Article Type: Solution
Last Modified: 16 Oct 2025
Version: 3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.