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). 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. I have tried to set this started method in my 
queue with the script:

#!/bin/sh
umask 002
exec "$@"

But it does not change anything (it seems the starter method does not start in 
fact)...

I have tried everything I can.... can anyone have some clue for me?

Thanks a lot in advance

Lionel


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

Reply via email to