Skip to main content

I am working for Linux file system Backup. Job got completed with errors and i see most of failed files are tagged as “Operation not permitted”. I would like to understand in what are all scenario’s for this issue and how we can overcome it. 

 

Kindly suggest on this

Hi Titus,

 

most likely this is permissions issues where we can’t read the folder/files getting protected.


As Gseibak said this probably is a permission issue.

For linux please note that:

  • the account used for installation defines the rights for the agent on the file system
    So if installed with root/sudo you should be able to access the files assuming you have not limited the FS rights for root.
    When performing an installation without root or sudo the agent is limited to the rights for the user being used, often resulting in only being able to backup the home folder and specific locations where the user has access rights.
  • Or you can define a Unix Group during installation which will define the rights for the agent

Quote documentation:

“UNIX Group

We recommend that you assign a dedicated UNIX group for all Commvault processes. Users associated to that group are granted access rights over Commvault configuration files, registry, and log files. If you do not assign a group, you must set access permissions for other users during the installation. Only the root group has all access rights by default.

If you plan to install a database agent (for example, Oracle), assign the UNIX group that is used by the database application, and add the database users to the group. The group grants access rights for both Commvault and database application processes.

Access Permissions for the UNIX Group and Other Computer Users

If you do not assign a dedicated UNIX group, you must set sufficient access permissions for other users (other than root users) during the installation. By default, read and execute permissions are granted to other users during installations from the installation package, and read, write, and execute permissions during installations from the CommCell Console.

If you do assign a dedicated UNIX group, you will be able to set the access permissions for the group. By default, read, write, and execute permissions are granted to the UNIX group.”

 

If you need to change the rights which are used by the agent, please run:

Location: <installation path>\Base\
Execute: ./cvpkgchg
 

You can also alter rights used by editing the registry file:

/etc/CommVaultRegistry/Galaxy/Instance001/Base/.properties


Settings:

sPermissions <XXX for example 775>

sGalaxyGroup <user groupname>