[GE users] Setting permissions for -e -o output

Reuti reuti at staff.uni-marburg.de
Mon Nov 7 19:22:30 GMT 2005


Hi Jiohn,

Am 07.11.2005 um 17:55 schrieb John Coldrick:

>
> 	Running a SUSE 10 grid with a SUSE 9.3 qmaster...
>
>
> 	We have a scenario where the standard output or error for some SGE  
> tasks may
> need to be overwritten by different users.  The problem is that  
> despite
> having umasks for all users set to 000, SGE insists on writing out  
> these
> files with permissions set to -rw-r--r--.  I've configured
>
> 	 /etc/csh.login.local
>
> to contain the umask, logging in as that user on all machines has  
> the mask set
> correctly.
>
> 	I've been wracking my brains to figure out where SGE would be  
> grabbing this
> permission mask from, or whether it's hardwired internally 
> (doubtful).   I

there are some places in SGE, where 022 is hardwired. But what about  
changing the access rights with setfacl (if it's supported by your  
file system), and give additonal rights to some users/groups by the  
first process creating this file (who is the owner of it)?

Cheers - Reuti


> sure didn't want to set root's umask to 000...:P
>
> 	Our workaround is to check for and delete the file if the  
> ownership is wrong,
> or simply rename them, but I'm wondering if there's a more elegant  
> method.
>
> 	Thanks
>
> 	J.C.
>
>
>
>
> -- 
> John Coldrick                  www.axyzfx.com        Axyz Animation
> 416-504-0425                                         425 Adelaide St W
>                                                      Toronto, ON  
> Canada
> jc at axyzfx.com                                        M5V 1S4
> ---------------------------------------------------------------------- 
> -
> There is no satisfaction in hanging a man who does not object to it
> 		-- G. B. Shaw
>
> ---------------------------------------------------------------------
> 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