<html>
<body>
I also had a hard time to make the umask thing to work with qsub.<br>
So I put a line "chmod 644 $output" at the end of my script -
that solved the problem.<br><br>
Zhiliang<br><br>
<br>
At 01:20 PM 9/22/2008 -0300, Italo Valcy wrote:<br>
<blockquote type=cite class=cite cite="">Hi,<br><br>
On Mon, Sep 22, 2008 at 12:14 PM, Glen Beane
<<a href="mailto:glen.beane@gmail.com">glen.beane@gmail.com</a>>
wrote:<br>
<dl><br><br>
<dd>qsub -W umask=XXX<br><br>
<dd>please note that prior to torque 2.3.4, this needs to be a _decimal_
value, not octal so you need to convert your umask into a decimal
number. when 2.3.4 is released it will correctly interpret a umask
value that starts with zero as an octal value<br>
</dl><br>
Ok, thanks. But, how to set this in files configuration? I need that
umask be default, because I'm using Globus to submit tasks...<br><br>
<br>
-- <br>
Saudações,<br><br>
Italo Valcy ::
<a href="http://twiki.dcc.ufba.br/~ItaloValcy">
http://twiki.dcc.ufba.br/~ItaloValcy</a><br>
Graduando em Ciência da Computação - DCC/UFBA ::
<a href="http://www.dcc.ufba.br">http://www.dcc.ufba.br</a></blockquote>
</body>
</html>