Revision 817a030d daemons/ganeti-noded
b/daemons/ganeti-noded | ||
---|---|---|
664 | 664 |
packaging. |
665 | 665 |
|
666 | 666 |
""" |
667 |
dirs = [(val, 0755) for val in constants.SUB_RUN_DIRS]
|
|
667 |
dirs = [(val, constants.RUN_DIRS_MODE) for val in constants.SUB_RUN_DIRS]
|
|
668 | 668 |
dirs.append((constants.LOG_OS_DIR, 0750)) |
669 | 669 |
for dir_name, dir_mode in dirs: |
670 | 670 |
if not os.path.exists(dir_name): |
Also available in: Unified diff