ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

UIM - modify rights on files created by capman_da probe


Article ID: 214195


Updated On:


DX Unified Infrastructure Management (Nimsoft / UIM)


We would like to modify the data files created by the capman_da probe. All users should be able to read files that are created. Curently, only root has the rights to do so.


Release : 20.3

Component : UIM - CAPMAN_DA


The Capman probe does not set any permission mask when creating csv files. That means default permissions for new files depends on the umask configuration of the user in the OS.


mask -S

The output of the command defines the permissions assigned by default to newly created files.

[email protected]:/apps/nimsoft/probes/system/capman_da$ umask -S




touch /tmp/test_to_delete

ls -la /tmp/test_to_delete

rm /tmp/test_to_delete


What permissions are assigned to the file?

[email protected]:/apps/nimsoft/probes/system/capman_da$ ls -la /tmp/test_to_delete

-rw-r----- 1 root root 0 Apr 23 17:01 /tmp/test_to_delete



You need to modify the umask configuration for root user in the server.

Alternatively, you could configure a cron job every minute to change the permissions to 644 to all csv files in the folder.