Bug 1314807 - Change ownership of files in workspace; r=dustin
authorGregory Szorc <gps@mozilla.com>
Thu, 03 Nov 2016 08:10:15 -0700
changeset 347621 e81cbf6ee940b7cb3bd1fab044f3db091bf943d4
parent 347620 aa134dc8e0c73c67f044bba35718ad50a2430c6f
child 347622 f9e1ac58390649526fd81d27968cc90e350afbe6
push id10298
push userraliiev@mozilla.com
push dateMon, 14 Nov 2016 12:33:03 +0000
treeherdermozilla-aurora@7e29173b1641 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdustin
bugs1314807
milestone52.0a1
Bug 1314807 - Change ownership of files in workspace; r=dustin The other changesets for this bug worked on Try but failed on autoland due to permissions failures in /home/worker/workspace. Ensure the files have the proper permissions. The path is a cache with the repo and build type keyed into it. So there should be no problem with this change causing permissions issues for other tasks.
taskcluster/taskgraph/transforms/job/hazard.py
--- a/taskcluster/taskgraph/transforms/job/hazard.py
+++ b/taskcluster/taskgraph/transforms/job/hazard.py
@@ -80,12 +80,13 @@ def docker_worker_hazard(config, job, ta
 
     # build-haz-linux.sh needs this otherwise it assumes the checkout is in
     # the workspace.
     env['GECKO_DIR'] = '/home/worker/checkouts/gecko'
 
     worker['command'] = [
         '/home/worker/bin/run-task',
         '--chown-recursive', '/home/worker/tooltool-cache',
+        '--chown-recursive', '/home/worker/workspace',
         '--vcs-checkout', '/home/worker/checkouts/gecko',
         '--',
         '/bin/bash', '-c', run['command']
     ]