It would appear by default that the umask of a job’s standard output and error is 077.
We can change this for individual jobs with -W umask=33, but is it possible to change the default value?
Thanks
It would appear by default that the umask of a job’s standard output and error is 077.
We can change this for individual jobs with -W umask=33, but is it possible to change the default value?
Thanks
possible solutions:
Thank you
Ahh.
Are you certain the default umask on the system is respected ?
It looks to be set to 022 on the system, but a man of the qsub shows that the default value is 077:
umask=
The umask with which the job is started. Sets job’s umask attribute to mask value. Controls umask of job’s standard output and standard error.
The following example allows group and world read on the job's output:
-W umask=33
Format: One to four octal digits; typically two
Default value: 077
Thanks
We are using are using pbs_version = 2022.05.11
Looks to be the older method PBS Professional 2021.1.3 RG-140
Is there an update we are missing?
Many thanks
You can specify this in the default_qsub_arugments at the server level
qmgr -c 'set server default_qsub_arguments="-Wumask=022"'
The user still has the option of overriding on an individual job with an argument to qsub or a directive in their job script.
Thanks @arwild01, seems to work well.