diff options
author | Thomas White <taw@physics.org> | 2020-08-28 14:02:51 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-08-28 14:02:51 +0200 |
commit | 45461879c55c0b8f0d4e7e334c377036aef76edb (patch) | |
tree | 26489704b62a8f832a3de3de0cfe903521d34143 | |
parent | 36fb915b8a930ff5f99ecc2854b88f4b10becdd8 (diff) |
SLURM: Set UID and GID
-rw-r--r-- | src/gui_backend_slurm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui_backend_slurm.c b/src/gui_backend_slurm.c index 3144d10a..7285406e 100644 --- a/src/gui_backend_slurm.c +++ b/src/gui_backend_slurm.c @@ -136,6 +136,8 @@ static void *run_indexing(const char *job_title, if ( job == NULL ) return NULL; slurm_init_job_desc_msg(&job_desc_msg); + job_desc_msg.user_id = getuid(); + job_desc_msg.group_id = getgid(); job_desc_msg.mail_user = strdup(opts->email_address); job_desc_msg.mail_type = MAIL_JOB_FAIL; job_desc_msg.comment = strdup("Submitted via CrystFEL GUI"); |