Installing robot with sudo give Nimsoft folder ownership to user rather than root
search cancel

Installing robot with sudo give Nimsoft folder ownership to user rather than root

book

Article ID: 396961

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

I noticed that the ownership ( user and group) of the “Nimsoft” directory and its subdirectories is being set to my username and group, which is not the intended behaviour.

When running the rpm with a non-root user, evelvating as root via sudo, the installer assigns ownership based on the user. 

Is this expected? 

Environment

  • DX UIM 23.4.*
  • Linux / UNIX

Cause

Working as Desgined

Resolution

Robot v9.38 or later admits Linux robot deployments for non-root users. 

When you install the DX UIM robot on Linux using a non-root user that was previously added as sudoer, so using the rpm as the non-root elevated to root via sudo, it is expected the ownership of the Nimsoft folder is given to the non-root user as ownership.

This is how the implementation for the non-root feature for robot installation is designed. 

The reason for this is If the ownership remains with the root user, the non-root user can't perform write operations on the Nimsoft files (like probe cfg, logs, etc,) which is required for monitoring the devices.

Additional Information