Hi,

> Am 04.04.2017 um 09:52 schrieb Lionel SPINELLI <spine...@ciml.univ-mrs.fr>:
> 
> Hello all,
> 
> I have an issue with the permissions of the output file of my jobs. The 
> output file path is specified in the script through the -o option. The file 
> is created with umask 022 by the root (since SGE is run by root).

Usually it's only created by the execd after it changed to the user who runs 
the job. Otherwise it would indeed be useless.


> Then, the job starts using the submission user and fails because it cannot 
> open the output file due to permission issue (permission denied). And in fact 
> the file is "-rw-r--r-- root users".
> The place where the file is created is a CIFS mount.  I have search through 
> the internet for a solution and only found the one consisting in modifying 
> the umask through the starter method.

Yes, the 022 is hard coded in the source. Some users allow others to write to 
the output files too, or have a distribution where each user is his own group 
too.


> I have tried to set this started method in my queue with the script:

Is this effect new in the cluster, or is it a new installation and fails 
instantly?

-- Reuti

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
users mailing list
users@gridengine.org
https://gridengine.org/mailman/listinfo/users

Reply via email to