diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-05-17 17:27:48 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-05-17 17:28:12 +0300 |
commit | a622cdaad818a8da11202a8e10450fb063ad5705 (patch) | |
tree | 76b2fd327ddc9f0bf3ca8fe7244a355906cec950 /build_files/buildbot/master_unpack.py | |
parent | 2b9d806432db5f17244fcf859c2ec1441c2b3ff9 (diff) |
Buildbot: Make sure files are readable by www group
Diffstat (limited to 'build_files/buildbot/master_unpack.py')
-rw-r--r-- | build_files/buildbot/master_unpack.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/build_files/buildbot/master_unpack.py b/build_files/buildbot/master_unpack.py index 46131c5e1de..ec44705931c 100644 --- a/build_files/buildbot/master_unpack.py +++ b/build_files/buildbot/master_unpack.py @@ -124,10 +124,12 @@ else: directory = 'public_html/download' try: + filename = os.path.join(directory, packagename) zf = z.open(package) - f = file(os.path.join(directory, packagename), "wb") + f = file(filename, "wb") shutil.copyfileobj(zf, f) + os.chmod(filename, 0644) zf.close() z.close() |