Ticket #1042 (closed defect: fixed)
FileUpload fails when mode-parameter is given
| Reported by: | m!nus | Owned by: | |
|---|---|---|---|
| Priority: | patches-accepted | Milestone: | 0.8.3 |
| Version: | 0.8.2 | Keywords: | FileUpload mode chmod |
| Cc: |
Description
Buildbot tries to chmod the file to be uploaded but the data gets written to a temporary file first which then is renamed. The chmod call is on the destination filename though. in buildbot/steps/transfer.py:33 change os.chmod(destfile, mode) to os.chmod(self.tmpname, mode) in order to fix this
Change History
Note: See
TracTickets for help on using
tickets.
![[Buildbot Logo]](/chrome/site/header-text-transparent.png)
Merge branch 'fileupload-chmod-fix' of git://github.com/whiteley/buildbot
Fixes #1042