Revision f2ffd244 daemons/ganeti-noded
b/daemons/ganeti-noded | ||
---|---|---|
747 | 747 |
""" |
748 | 748 |
dirs = [(val, constants.RUN_DIRS_MODE) for val in constants.SUB_RUN_DIRS] |
749 | 749 |
dirs.append((constants.LOG_OS_DIR, 0750)) |
750 |
dirs.append((constants.LOCK_DIR, 1777)) |
|
750 | 751 |
for dir_name, dir_mode in dirs: |
751 | 752 |
if not os.path.exists(dir_name): |
752 | 753 |
try: |
Also available in: Unified diff