[torqueusers] The issues on using -o option.
David Beer
dbeer at adaptivecomputing.com
Tue Nov 8 09:28:06 MST 2011
----- Original Message -----
> On Tue, Nov 8, 2011 at 10:05 AM, Hongsheng Zhao
> <zhaohscas at yahoo.com.cn> wrote:
> > Hi all,
> >
> > From the following webpage,
> >
> > http://www.clusterresources.com/torquedocs/commands/qsub.shtml
> >
> > I can find the following notes:
> >
> > -------------
> > -o path
> > Defines the path to be used for the standard output stream of
> > the
> > batch job. The path argument is of the form:
> >
> > [hostname:]path_name
> > -------------
> >
> > Accordingly, in my pbs script, I use the following line:
> >
> > ----------
> > #PBS -o out
> > ----------
> >
> > Then, in the result folder of my job, I obtained a file named out
> > with
> > the following file permissions:
> >
> > zhaohongsheng at node32:~/Castep_test> ls -la out
> > -rw------- 1 zhaohongsheng users 0 2011-12-13 11:32 out
> >
> > As you can see, the file permission is 600 for this file. Why does
> > this
> > happen? I think it should be 644 for convenience. Any hints on
> > this
> > issue? Thanks in advance.
>
> not everybody likes god and the world to read their outputs,
> so this is a reasonable default.
>
> but since you set the name of your output, nothing keeps
> you from using "chmod 0644 out" in you submit script to
> change the permissions to what you like them to be.
>
> axel.
>
>
> >
> > Regards
> > --
> > Hongsheng Zhao <zhaohscas at yahoo.com.cn>
> > School of Physics and Electrical Information Science,
> > Ningxia University, Yinchuan 750021, China
> > _______________________________________________
> > torqueusers mailing list
> > torqueusers at supercluster.org
> > http://www.supercluster.org/mailman/listinfo/torqueusers
> >
>
>
>
> --
> Dr. Axel Kohlmeyer akohlmey at gmail.com
> http://sites.google.com/site/akohlmey/
>
> Institute for Computational Molecular Science
> Temple University, Philadelphia PA, USA.
> _______________________________________________
> torqueusers mailing list
> torqueusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torqueusers
>
You can set a different default permissions using $job_output_file_umask, which is documented on this page http://www.adaptivecomputing.com/resources/docs/torque/a.cmomconfig.php
Cheers,
--
David Beer
Direct Line: 801-717-3386 | Fax: 801-717-3738
Adaptive Computing
1712 S East Bay Blvd, Suite 300
Provo, UT 84606
More information about the torqueusers
mailing list