[gridengine users] Can you change the user on an executed qsub?

Reuti reuti at staff.uni-marburg.de
Fri Jan 9 19:25:56 UTC 2015


Am 09.01.2015 um 19:38 schrieb Rob Slabysz:

> We created an "sge_admin" user to execute the SGE daemons.  When a job is qsubbed it executes the job as sge_admin and the ownership of files that are created are sge_admin.  Is there a way for the files created to be owned by the user that submitted the job? I'd like jdoe's submitted job to create files owned by jdoe instead of sge_admin.  Thanks.

For this reason the sgeexecd needs to be started by root. You will observe something like:

$ ps -e -o user,ruser,command | grep exec
sgeadmin root     /usr/sge/bin/lx24-em64t/sge_execd

Then the started job can be executed under the id of the submitting user.

-- Reuti

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

More information about the users mailing list