deploy: force umask to 0022

This commit is contained in:
Jérôme Schneider 2013-11-21 18:00:04 +01:00
parent 9c535b7191
commit f1c2880c31
1 changed files with 1 additions and 0 deletions

View File

@ -55,6 +55,7 @@ class DeployInstance(object):
z = zipfile.ZipFile(os.path.join(self.skel_dir, 'export.wcs'), 'r')
os.umask(0022)
for f in z.namelist():
path = os.path.join(self.collectivity_install_dir, f)
data = z.read(f)