<div dir="ltr"><br><br><div class="gmail_quote">On Thu, Aug 21, 2008 at 1:48 PM, Garrick Staples <span dir="ltr"><<a href="mailto:garrick@usc.edu">garrick@usc.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Wed, Aug 20, 2008 at 11:55:59AM -0600, Aaron Johnson alleged:<br>
</div><div class="Ih2E3d">> All,<br>
> I am using TORQUE to create web readable files, however when I try to<br>
> set the umask to 022 (u=rw,g=r,o=r) the permissions are actually set<br>
> 027 (u=rw,g=r,o=) what I am doing wrong? I need the files readable by<br>
> others, such as apache so that the webinterface can display them.<br>
<br>
</div>It is unfortunately expecting a decimal number. Octal 22 is decimal 18. Using<br>
umask=18 does what you want.<br>
<br>
*sigh*</blockquote><div><br><br>oops, that seems like behavior we probably want to change. I'm embarrassed to admit I'm the one that wrote that code!<br></div></div><br><br></div>