ZCM install fails if umask is not set at 022

  • 7007849
  • 08-Feb-2011
  • 30-Apr-2012

Environment

Novell ZENworks 11 Configuration Management Installation - Server
Novell ZENworks 10 Configuration Management Installation - Server

Situation

ZCM installation will fail if the default umask in Linux is not 022. 
A umask of 077 will cause new files created with no rights to other users or groups.
 
ZCM install log may report:
java.lang.IllegalArgumentException:
server-cert file does not exist: /tmp/install.dir.7217/serverCert.cer
 
The install was able to create the .cer file, but was not able to find it when called by the zenworks user.
 
 
 
 

Resolution

Change the umask to 022:
vi /etc/profile
Change to insert mode.
umask 022
wq (write quit)
 
Reinstall ZCM.
 

Additional Information

Default file permission in linux is 777.
A umask of 077 sets the allowed rights to 700.
Only the user has read or write access to the file.