[Buildbot] #3553: Directory path permissions on FileUpload set to 700.

Buildbot trac trac at buildbot.net
Tue May 17 21:06:46 UTC 2016


#3553: Directory path permissions on FileUpload set to 700.
-------------------+-----------------------
Reporter:  verm    |      Owner:
    Type:  defect  |     Status:  new
Priority:  major   |  Milestone:  undecided
 Version:  master  |   Keywords:  transfer
-------------------+-----------------------
 When you use FileUpload to send a file the directory permissions are being
 set to 700 when they don't exist.  For example:

   `FileUpload("a/b/c/file")`

 If `b/c/` are created the permissions are 700 not 755 this causes issues
 for other devices or services that need to access it.

 I tried adding `0755` as a `mode` argument to the `os.makedirs` in:

 https://github.com/buildbot/buildbot/blob/master/master/buildbot/process/remotetransfer.py#L45

 This did not help the perms are still 700.

--
Ticket URL: <http://trac.buildbot.net/ticket/3553>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the bugs mailing list