[torqueusers] troubles setting output and error file permissions with "-W umask=022"

Aaron Johnson ajohnson at terrasoftsolutions.com
Thu Aug 21 09:51:38 MDT 2008

Is there anyway of accomplishing this using torque 2.1.8, this is the 
version we are currently using and upgrading is not something we 
currently want to undertake.


Josh Butikofer wrote:
> Try using the new MOM parameter "$job_output_file_umask". You set this 
> in the MOM's config file to your desired umask. This is available in 
> 2.3.x. For example:
> "$job_output_file_umask 0022" in the MOM config would set the umask to 
> octal 022.
> Don't forget to restart your MOM(s) after making this config change.
> --Josh Butikofer
> Aaron Johnson wrote:
>> 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.
>> Aaron
>> _______________________________________________
>> torqueusers mailing list
>> torqueusers at supercluster.org
>> http://www.supercluster.org/mailman/listinfo/torqueusers

More information about the torqueusers mailing list