The InterTest Batch r8.5 GUI writes it's temp files into the Work Directory with -777 permissions. This can be modified by the umask setting in "/etc/profile". Setting a umask to -000 will leave the permissions unchanged.

Document ID : KB000022363
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

The InterTest Batch GUI writes it's temp files into the Work Directory with -777 permissions. This can be modified by the umask setting in "/etc/profile". Setting a umask to -000 will leave the permissions unchanged. Any other umask setting will modify the permission to a value that might be undesirable.

Solution:

Are you seeing messages similar to these?

From the STDOUT log:

EST:Error: Error attempting to open workfile
/plex/itbat/work/CAIN71562122772595
EST:Error attempting to open workfile
/plex/itbat/work/CAIN7156212277259556103.b

From the SYSLOG:

ICH408I USER(E20373 ) GROUP(#15213 ) NAME(XXXXXXXXXX) 724
/plex/itbat/work/CAIN8956075065257856490.bin 
CL(FSOBJ ) FID(00000004000000010000000000000000)
INSUFFICIENT AUTHORITY TO OPEN
ACCESS INTENT(-W-) ACCESS ALLOWED(OTHER R--)
EFFECTIVE UID(0000020373) EFFECTIVE GID(0000777777)

Please check your "default permissions". This is the umask setting in your "/etc/profile".

If that umask setting has a value other than -000 then you might want to investigate the following solution:

  1. Sign onto USS using the ID that submits the server and issue this:
    umask -S 
    What are the results? You should get something like "u=rwx,g=rx,o=rx". This example translates to a value of -755.

  2. If you do have a value other than "u=rwx,g=rwx,o=wrx", add this to your invocation of the GUI server:
    // LOGLVL='ENVAR(_EDC_UMASK_DFLT=000)/+T'
  3. Re-invoke the GUI server and re-try creating member to the Work Directory.

This will override the default umask setting with a value of -000. This means that when the InterTest Batch GUI Server writes files to the Work Directory, the permission value of -777 will be unchanged by the default permission, since "(_EDC_UMASK_DFLT=000)".