mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Fix mkdir
This commit is contained in:
parent
18d41f7711
commit
25d52efeac
@ -2007,7 +2007,7 @@ def script(source,
|
||||
if salt.utils.is_windows() and runas and cwd is None:
|
||||
cwd = os.path.join(__opts__['cachedir'], 'wintmp')
|
||||
if not os.path.isdir(cwd):
|
||||
__salt__['file.mkdir'](root)
|
||||
__salt__['file.mkdir'](cwd)
|
||||
ret = __salt__['win_dacl.add_ace'](
|
||||
cwd, 'File', runas, 'READ&EXECUTE', 'ALLOW',
|
||||
'FOLDER&SUBFOLDERS&FILES')
|
||||
|
Loading…
Reference in New Issue
Block a user