[torqueusers] troubles setting output and error file permissions
with "-W umask=022"
josh at clusterresources.com
Thu Aug 21 11:04:43 MDT 2008
You could try using just "$job_umask" (the old name of the parameter...but I don't think it was in
2.1.8, either). I can't guarantee it will work properly. I know there were some problems with this
parameter that were fixed in 2.3. Maybe it was a regression in 2.2.x, so it might work, if it exists.
Your other option is, of course, backporting the changes in 2.3.x to your version of 2.1.8. Not very
desirable, but possible.
Aaron Johnson wrote:
> 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:
>>> 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.
>>> torqueusers mailing list
>>> torqueusers at supercluster.org
More information about the torqueusers