[torqueusers] The issues on using -o option.

Gabe Turner gabe at msi.umn.edu
Tue Nov 8 21:57:59 MST 2011

On Wed, Nov 09, 2011 at 11:49:55AM +0800, Hongsheng Zhao wrote:
> > You can set a different default permissions using $job_output_file_umask, which is documented on this page http://www.adaptivecomputing.com/resources/docs/torque/a.cmomconfig.php
> Thanks a lot, I've read the following notes for the above 
> $job_output_file_umask parameter from the webpage you mentioned above:
> ----------
> $job_output_file_umask
> Format: 	<STRING>
> Description: 	uses the specified umask when creating job output and 
> error files. Values can be specified in base 8, 10, or 16; leading 0 
> implies octal and leading 0x or 0X hexadecimal. A value of "userdefault" 
> will use the user's default umask. This parameter is in version 2.3.0 
> and later.
> Example: 	$job_output_file_umask 027
> -----------
> But, anyway, I'm a newbie of torque.  I cann't figure out how should I 
> use the this command for my case.
> I've tried use the following line in my pbs script:
> $job_output_file_umask 027

You need to put it in each mom's config. It's usually at
/var/spool/torque/mom_priv/config on each compute node.


Gabe Turner                                             gabe at msi.umn.edu
HPC Systems Administrator,
University of Minnesota
Supercomputing Institute                          http://www.msi.umn.edu

More information about the torqueusers mailing list