[Buildbot-commits] [Buildbot] #1042: FileUpload fails when mode-parameter is given

Buildbot buildbot-devel at lists.sourceforge.net
Sun Nov 7 11:56:35 UTC 2010


#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


More information about the Commits mailing list