Manage Umask
The umask feature is used on UNIX to set the permissions
                on new files and directories. VOV supports umask with the environment variable
                    VOV_UMASK. This variable is checked by the wrappers (vw, vov,
                etc. ). When set, the wrapper adjusts the umask accordingly. 
The environment variable VOV_UMASK is automatically set to the value of the umask in the submit environment when using an environment snapshot in Accelerator.
D(VOV_UMASK=value) to the
                environment specification. YYYYMMDD under
                        vnc_logs is created at job submit time by the nc run command; the
                    file permission (mode) of the logfile is controlled by the umask in the submit
                    shell. Examples with VOV_UMASK
This section provides examples of using VOV_UMASK.
% umask 077
% umask
77
% grep umask ~/.cshrc
umask 022
% nc run -v 0 -r unix -wl csh -c umask
----STARTING ON some-host-name----
22
----END OF LOG----
----EXIT STATUS 0----% nc run -v 0 -r unix -wl csh -fc umask
----STARTING ON some-host-name----
77
----END OF LOG----
----EXIT STATUS 0----...
VOV_UMASK='077'
export VOV_UMASK
...BASE environment. The BASE
                environment shipped by Altair does not set VOV_UMASK.
                % nc run -v 0 -e BASE -r unix -wl csh -fc umask
----STARTING ON some-host-name----
22
----END OF LOG----
----EXIT STATUS 0----% nc run -v 0 -e 'BASE+D(VOV_UMASK=055)' -r unix -wl csh -fc umask
----STARTING ON some-host-name----
55
----END OF LOG----
----EXIT STATUS 0----The following example creates the logfile named by the command, and possibly the
                20060713 subdirectory of vnc_logs, if it did not exist. The
                subdirectory is mode 0700, since it was initialized from the umask in the current
                shell. 
% nc run -e 'BASE+D(VOV_UMASK=055)' -r unix -wl date
Resources= unix CPUS/1
Env      = BASE+D(VOV_UMASK=055)
Command  = vw date
Logfile  = vnc_logs/20240713/162014.8525
JobId    = 00424353
----STARTING ON some-host-name----
Thu Jul 13 15:57:56 PDT 2024
----END OF LOG----
----EXIT STATUS 0----
% ls -ld vnc_logs/20240713
drwx------  2 cadmgr rtda 4096 Jul 13 15:57 vnc_logs/20240713
% ls -l vnc_logs/20060713
-rw--w----  2 cadmgr rtda 29 Jul 13 15:57 vnc_logs/20240713/162014.8525