Fix wrong permissions for branch download directory
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Tue, 3 Sep 2019 14:50:56 +0000 (16:50 +0200)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Tue, 3 Sep 2019 14:50:56 +0000 (16:50 +0200)
master_unpack.py

index 049e562baf040e7e3e6b578761214f348fceb768..e1aff695947283cb632d7dc75dfd30e5af022ae3 100644 (file)
@@ -100,6 +100,7 @@ def get_download_dir(branch):
     else:
         directory = os.path.join(DOWNLOAD_DIR, branch)
         os.makedirs(directory, exist_ok=True)
+        os.chmod(directory, 0o755)
 
     return directory