#1042: FileUpload fails when mode-parameter is given
--------------------+-------------------------------------------------------
Reporter: m!nus | Owner:
Type: defect | Status: new
Priority: trivial | Milestone: 0.8.3
Version: 0.8.2 | Keywords: FileUpload mode chmod
--------------------+-------------------------------------------------------
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
--
Ticket URL: <http://buildbot.net/trac/ticket/1042>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Buildbot-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/buildbot-commits