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

Installing robot with sudo gives 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 behavior.

When running the rpm with a non-root user, elevating 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 Designed

Resolution

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

When running as a non-root user, it is expected that ownership of the Nimsoft folder is given to the non-root user.  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