summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérôme Schneider <jschneider@entrouvert.com>2013-11-21 14:46:58 (GMT)
committerJérôme Schneider <jschneider@entrouvert.com>2013-11-21 14:48:05 (GMT)
commit0cd7df4bbfdefc504efe7b452549ce93b943d446 (patch)
tree3f4890f03d65931f3b6d786161ecf027e5c50adf
parentf3093ed1ff167d771e69c8beca1964452696b6e3 (diff)
downloadwcsinst-0cd7df4bbfdefc504efe7b452549ce93b943d446.zip
wcsinst-0cd7df4bbfdefc504efe7b452549ce93b943d446.tar.gz
wcsinst-0cd7df4bbfdefc504efe7b452549ce93b943d446.tar.bz2
wcsinstd: create directory in 0755 and not 0777
-rw-r--r--wcsinst/wcsinstd/deploy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wcsinst/wcsinstd/deploy.py b/wcsinst/wcsinstd/deploy.py
index 4bbabc6..79a24a0 100644
--- a/wcsinst/wcsinstd/deploy.py
+++ b/wcsinst/wcsinstd/deploy.py
@@ -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()