Buildbot: Make sure files are readable by www group
This commit is contained in:
parent
2b9d806432
commit
a622cdaad8
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue