Avamar: Proxy Hotfix unable to be installed due to error "Rename Failed - Operation Not Permitted"

Summary: Avamar Proxy was unable to install hotfix using the RPM upgrade command due to error "error: unpacking of archive failed on file /usr/local/avamarclient/var/avvcbimageAll.cmd: cpio: rename failed - Operation not permitted". ...

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

The following issue was experienced on Avamar Proxy version 19.9.100-78 when trying to install Avamar Proxy Hotfix 338813:

The following error appears during the installation process: 

/tmp # rpm -Uvh --force  AvamarVMwareCombined-linux-sles12sp5-x86_64-19.9.100-78.rpm
Preparing...                          ################################# [100%]
--snapshotManager_https_timeout=3600000
Updating / installing...
   1:AvamarVMwareCombined-19.9.100-78 ################################# [100%]
error: unpacking of archive failed on file /usr/local/avamarclient/var/avvcbimageAll.cmd: cpio: rename failed - Operation not permitted
error: AvamarVMwareCombined-19.9.100-78.x86_64: install failed
 

Trying to modify, delete or move /usr/local/avamarclient/var/avvcbimageAll.cmd as root would lead to an error stating you do not have the required permissions.

For example, the following error would appear when trying to edit the file as root user with the vi command: 

'readonly' option is set (add ! to override)

Cause

This error occurs due to a permission issue on the avvcbimageAll.cmd not allowing the root user to have permission to modify the file.

Resolution

Run the commands below on the Avamar proxy server:

a. Using the "ls -l" command shows that the file permissions are correct: 

/usr/local/avamarclient/var # ls -l avvcbimageAll.cmd
-rwxr-xr-x 1 root root 3016 Apr 24 02:46 avvcbimageAll.cmd
 

b. Using the "lsattr" command shows that the file is set with the (i) permission for immutable. This means data cannot be modified, deleted, or added to the file. 

/usr/local/avamarclient/var # lsattr avvcbimageAll.cmd
----i--------------- avvcbimageAll.cmd
 

2. If set, remove the immutable permission on the file, and verify the change.

a. Using the "lsattr -i" command remove the immutable permission: 

/usr/local/avamarclient/var # chattr -i avvcbimageAll.cmd
 

b. Confirm that the permission has been corrected by running the "lsattr" command again: 

/usr/local/avamarclient/var # lsattr avvcbimageAll.cmd
------------------- avvcbimageAll.cmd

The "i" should be removed.

With the permission removed, the avvcbimageAll.cmd file can now be modified and the hotfix installed.

Affected Products

Avamar, Avamar Client, Avamar Client for VMware
Article Properties
Article Number: 000224566
Article Type: Solution
Last Modified: 07 Aug 2025
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.