The loader uses win_dacl's virtual name

This commit is contained in:
Daniel A. Wozniak 2018-09-01 05:55:15 +00:00
parent b2d52b93f3
commit 280734a14f
No known key found for this signature in database
GPG Key ID: 166B9D2C06C82D61

View File

@ -303,7 +303,7 @@ def _process_requirements(requirements, cmd, cwd, saltenv, user):
# In Windows, just being owner of a file isn't enough. You also
# need permissions
if salt.utils.platform.is_windows():
__utils__['win_dacl.set_permissions'](
__utils__['dacl.set_permissions'](
obj_name=treq,
principal=user,
permissions='read_execute')