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?
Working as Desgined
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.
Related Documents and KBs:
KB: Clarifications on Migrating Robot from Non-Root user to Root User on Linux
KB: Uninstall a Linux / Unix Robot in DX UIM
Techdocs: Install a Robot As a Non-Root User on Linux