Fix wrong permissions for branch download directory
This commit is contained in:
@@ -100,6 +100,7 @@ def get_download_dir(branch):
|
|||||||
else:
|
else:
|
||||||
directory = os.path.join(DOWNLOAD_DIR, branch)
|
directory = os.path.join(DOWNLOAD_DIR, branch)
|
||||||
os.makedirs(directory, exist_ok=True)
|
os.makedirs(directory, exist_ok=True)
|
||||||
|
os.chmod(directory, 0o755)
|
||||||
|
|
||||||
return directory
|
return directory
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user