The branch, master has been updated via 2dac42b Set umask. from aa21359 Enable debugging as early as possible.
http://gitweb.samba.org/?p=build-farm.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit 2dac42ba046dc9c00982e07851fd547a4d0a61b1 Author: Jelmer Vernooij <jel...@samba.org> Date: Tue Nov 16 23:17:18 2010 +0100 Set umask. ----------------------------------------------------------------------- Summary of changes: buildfarm/sqldb.py | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) Changeset truncated at 500 lines: diff --git a/buildfarm/sqldb.py b/buildfarm/sqldb.py index e0ef491..95529ed 100644 --- a/buildfarm/sqldb.py +++ b/buildfarm/sqldb.py @@ -221,9 +221,13 @@ class StormCachingBuildFarm(BuildFarm): if self.store is not None: return self.store db_path = os.path.join(self.path, "db", "hostdb.sqlite") - db = create_database("sqlite:%s?timeout=%f" % (db_path, self.timeout)) - self.store = Store(db) - setup_schema(self.store) + umask = os.umask(0664) + try: + db = create_database("sqlite:%s?timeout=%f" % (db_path, self.timeout)) + self.store = Store(db) + setup_schema(self.store) + finally: + os.umask(umask) return self.store def _open_hostdb(self): -- build.samba.org