[GE users] SGE output file permissions

Reuti reuti at staff.uni-marburg.de
Sat Mar 5 09:23:30 GMT 2005


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "ISO-8859-10" character set.  ]
    [ Some special characters may be displayed incorrectly. ]

Hi John,

can you please help me to understand your problem a little bit better: your 
users are submitting the jobs from just one directory by using -cwd and use 
-o/-e to change to name to be a fixed one (as the job number makes the output 
files unambiguous by default)? -Reuti

Quoting John Coldrick <jc at axyzfx.com>:

> 
> 	Running 6.0u3 on Linux, SUSE 9.1 systems.
> 
> 	I posted a few days ago about some permission issues we were having - the 
> solution was indeed related to mismatched userid's across systems.  This has
> 
> been addressed and things seem fine - however it drew my attention to an 
> ongoing situation that we weren't aware of.
> 
> 	When SGE creates either the standard output or standard error for a given 
> job, by default it sets it to the ownership of the user that submitted the 
> job.  However, I've noticed that the permission set is not using the umask 
> for the user - it appears to be using (I assume) root's umask setting(we run
> 
> SGE as root).  Is this correct, and can this be addressed?  The problem is 
> that obviously I don't want to set roots umask to something unsafe, and if 
> two users happen to run the same job at different times, any existing out 
> files can't be overwritten and the job goes into a very-hard-to-diagnose 
> error state.  I can hack around this in our wrapper scripts, but I'm 
> wondering if there's an approved method or envar within SGE that addresses 
> this.
> 
> 	Cheers,
> 
> 	J.C.
> 
> -- 
> John Coldrick                  www.axyzfx.com        Axyz Animation
> Houdini/Renderman/Discreet                           425 Adelaide St W
> 416-504-0425                                         Toronto, ON Canada
> jc at axyzfx.com                                        M5V 1S4
> -----------------------------------------------------------------------
> Commitment, n.:
> 	Commitment can be illustrated by a breakfast of ham and eggs.
> The chicken was involved, the pig was committed.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
> For additional commands, e-mail: users-help at gridengine.sunsource.net
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net




More information about the gridengine-users mailing list