[torqueusers] Torque 2.1.8 and "-W umask=22" problems

Randy Philipp randy at umbc.edu
Mon Jun 30 13:55:50 MDT 2008

I tried that.  I used "-W umask=0022", but from the permission of the 
output file, it looks like the umask is set to 26, which just so happens 
to be octal for 22 decimal.

Randy Philipp

Joshua Butikofer wrote:
> Randy,
> I know that more recent versions of TORQUE use strtol() to parse the input, but doesn't specify
> which base the number is in. This means if you place a 0 in front of your number it should read it
> in as octal.
> Example:
> -W umask=0666
> --Josh B.
> Randy Philipp wrote:
>> I have been trying to use the "-W umask=" option in Torque 2.1.8, and it
>> appears that it is option is takes a decimal value instead of the
>> standard octal value you usually use with the umask command.  Is this a
>> known issue, and is there patch for Torque, or has this been resolved in
>> Torque 2.1.10?  Thanks for your help.
>> Randy Philipp
>> _______________________________________________
>> torqueusers mailing list
>> torqueusers at supercluster.org
>> http://www.supercluster.org/mailman/listinfo/torqueusers

More information about the torqueusers mailing list