[GE users] how to enforce newgrp in batch job ...

Andy Schwierskott andy.schwierskott at sun.com
Fri Sep 5 12:26:57 BST 2008


Lydia,

without changing the shepherd code you cannot achieve that the stdout/err
files are created under specific group id's. Files created after the newgrp
command in the job script should be owned by the new group. In your case
possibly the user was no in group "reion". What does "id" (or "id -a") say?
does it work outside an SGE job?

If your users are cooperative, as admin you can enable the USE_QSUB_GID=true
setting (an "execd_params") and then users can *submit* jobs with the target
group id. Then even stdout/err files will the submit group id.



More information about the gridengine-users mailing list