wcsinstd: create directory in 0755 and not 0777
This commit is contained in:
parent
f3093ed1ff
commit
0cd7df4bbf
|
@ -59,7 +59,7 @@ class DeployInstance(object):
|
|||
path = os.path.join(self.collectivity_install_dir, f)
|
||||
data = z.read(f)
|
||||
if not os.path.exists(os.path.dirname(path)):
|
||||
os.mkdir(os.path.dirname(path))
|
||||
os.mkdir(os.path.dirname(path), 0755)
|
||||
if not f.endswith('/'):
|
||||
open(path, 'w').write(data)
|
||||
z.close()
|
||||
|
|
Reference in New Issue