[Bf-blender-cvs] [a622cda] master: Buildbot: Make sure files are readable by www group
Sergey Sharybin
noreply at git.blender.org
Sun May 17 16:28:25 CEST 2015
Commit: a622cdaad818a8da11202a8e10450fb063ad5705
Author: Sergey Sharybin
Date: Sun May 17 19:27:48 2015 +0500
Branches: master
https://developer.blender.org/rBa622cdaad818a8da11202a8e10450fb063ad5705
Buildbot: Make sure files are readable by www group
===================================================================
M build_files/buildbot/master_unpack.py
===================================================================
diff --git a/build_files/buildbot/master_unpack.py b/build_files/buildbot/master_unpack.py
index 46131c5..ec44705 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()
More information about the Bf-blender-cvs
mailing list