commit/galaxy-central: natefoo: Reclaim ownership of job's working dir prior to reading stdout/stderr/ec files to avoid permissions problems.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/b4f52783c54a/ changeset: b4f52783c54a user: natefoo date: 2012-08-14 21:22:29 summary: Reclaim ownership of job's working dir prior to reading stdout/stderr/ec files to avoid permissions problems. affected #: 1 file diff -r 0ef82aa1c39cfb192ed6d1c0a1ed3a1a9e103485 -r b4f52783c54ac175d306d5064ef5ab7bd5149ca9 lib/galaxy/jobs/runners/drmaa.py --- a/lib/galaxy/jobs/runners/drmaa.py +++ b/lib/galaxy/jobs/runners/drmaa.py @@ -339,6 +339,8 @@ # By default, the exit code is 0, which typically indicates success. exit_code = 0 exit_code_str = "0" + # To ensure that files below are readable, ownership must be reclaimed first + drm_job_state.job_wrapper.reclaim_ownership() while which_try < (self.app.config.retry_job_output_collection + 1): try: ofh = file(ofile, "r") Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
Bitbucket