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.

Running nhCreateDb returns umask related error


Article ID: 8256


Updated On:


CA eHealth


nhCreateDb command fails with error regarding wrong umask setting


root user is set correctly with umask 002


NH_USER was not set with umask 002 as required


While root user does require umask 002 and is required to run the nhCreateDb command, it does use the NH_USER behind the scenes. Thus it also requires NH_USER to have umask set to 002.


All supported eHealth releases running on Unix systemsDoes not impact Windows users


Log in as NH_USER and set umask to 002 (run "umask 002", then run "umask" to confirm response is 002).

Once again:

  1. Log in as root
  2. CD to the $NH_HOME directory 
  3. Source the nethealthrc.csh 
  4. Run the nhCreateDb command again