Révision 0cd7df4b
Ajouté par Jérôme Schneider il y a plus de 10 ans
wcsinst/wcsinstd/deploy.py | ||
---|---|---|
59 | 59 |
path = os.path.join(self.collectivity_install_dir, f) |
60 | 60 |
data = z.read(f) |
61 | 61 |
if not os.path.exists(os.path.dirname(path)): |
62 |
os.mkdir(os.path.dirname(path)) |
|
62 |
os.mkdir(os.path.dirname(path), 0755)
|
|
63 | 63 |
if not f.endswith('/'): |
64 | 64 |
open(path, 'w').write(data) |
65 | 65 |
z.close() |
Formats disponibles : Unified diff
wcsinstd: create directory in 0755 and not 0777