[torqueusers] troubles setting output and error file permissions
with "-W umask=022"
Aaron Johnson
ajohnson at terrasoftsolutions.com
Thu Aug 21 12:48:02 MDT 2008
Garrick Staples wrote:
> On Wed, Aug 20, 2008 at 11:55:59AM -0600, Aaron Johnson alleged:
>
>> All,
>> I am using TORQUE to create web readable files, however when I try to
>> set the umask to 022 (u=rw,g=r,o=r) the permissions are actually set
>> 027 (u=rw,g=r,o=) what I am doing wrong? I need the files readable by
>> others, such as apache so that the webinterface can display them.
>>
>
> It is unfortunately expecting a decimal number. Octal 22 is decimal 18. Using
> umask=18 does what you want.
>
Excellent this will do for now, and we'll make a note that this may
change with future versions of TORQUE.
Thanks,
Aaron
> *sigh*
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> torqueusers mailing list
> torqueusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torqueusers
>
More information about the torqueusers
mailing list