I'll try to take a look at this, since I am the one that added the -W umask= feature into TORQUE.<br><br>
<div class="gmail_quote">On Mon, Jun 30, 2008 at 4:10 PM, Joshua Butikofer <<a href="mailto:josh@clusterresources.com">josh@clusterresources.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Randy,<br><br>After thinking about this some more, I remember seeing a bug like this in TORQUE 2.3. It had to do<br>
with the pbs_mom config file's $umask setting, however. TORQUE was not properly parsing/applying the<br>umask. This was fixed in post TORQUE 2.3 snapshots. I'm not really a TORQUE developer, so I don't<br>know for sure, but the code could be the same for the $umask pbs_mom config and the job submission<br>
umask. In other words, this might be fixed in TORQUE 2.3 snapshots. Sorry I don't know more. :P<br>
<div>
<div></div>
<div class="Wj3C7c"><br>--Josh B.<br><br>Randy Philipp wrote:<br>> I tried that. I used "-W umask=0022", but from the permission of the<br>> output file, it looks like the umask is set to 26, which just so happens<br>
> to be octal for 22 decimal.<br>><br>> Randy Philipp<br>><br>> Joshua Butikofer wrote:<br>>> Randy,<br>>><br>>> I know that more recent versions of TORQUE use strtol() to parse the<br>>> input, but doesn't specify<br>
>> which base the number is in. This means if you place a 0 in front of<br>>> your number it should read it<br>>> in as octal.<br>>><br>>> Example:<br>>><br>>> -W umask=0666<br>>><br>
>> --Josh B.<br>>><br>>><br>>><br>>> Randy Philipp wrote:<br>>>> I have been trying to use the "-W umask=" option in Torque 2.1.8, and it<br>>>> appears that it is option is takes a decimal value instead of the<br>
>>> standard octal value you usually use with the umask command. Is this a<br>>>> known issue, and is there patch for Torque, or has this been resolved in<br>>>> Torque 2.1.10? Thanks for your help.<br>
>>><br>>>> Randy Philipp<br>>>> _______________________________________________<br>>>> torqueusers mailing list<br>>>> <a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a><br>
>>> <a href="http://www.supercluster.org/mailman/listinfo/torqueusers" target="_blank">http://www.supercluster.org/mailman/listinfo/torqueusers</a><br>>><br>_______________________________________________<br>
torqueusers mailing list<br><a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a><br><a href="http://www.supercluster.org/mailman/listinfo/torqueusers" target="_blank">http://www.supercluster.org/mailman/listinfo/torqueusers</a><br>
</div></div></blockquote></div><br>