mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
commit
0a2adcd8c3
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ def update_config(file_name, yaml_contents):
|
|||
|
||||
if not os.path.exists(dir_path):
|
||||
log.debug('Creating directory {0}'.format(dir_path))
|
||||
os.makedirs(dir_path, 755)
|
||||
os.makedirs(dir_path, 0o755)
|
||||
|
||||
file_path = os.path.join(dir_path, file_name)
|
||||
with salt.utils.fopen(file_path, 'w') as fp_:
|
||||
|
|
Loading…
Add table
Reference in a new issue