Have modified the UMASK parameter in the local $XCOM_HOME/config/xcom.glb file.
However for a remotely XCOM initiated send file transfer which uses the CREATE option the received file that is created does not have its umask/permissions set to that UMASK value.
For an incoming send file transfer with file option CREATE, the UMASK value provided by the initiating system is overwriting any value set by the target system. It is not possible to force a particular UMASK setting this way on the target system.
To ensure that the received file is created with the required umask on the target system a post-processing step needs to be used as follows:
XPPCMD=$XCOM_HOME/cmd/xcompp
and restart xcomd.# POSTPROCESS HERE !
chmod 664 $file
exit 0