Skip to content

Commit

Permalink
Merge pull request saltstack#31568 from twangboy/fix_perms
Browse files Browse the repository at this point in the history
Grant permissions using SID instead of name
  • Loading branch information
Mike Place committed Mar 1, 2016
2 parents ada5ab3 + 1f6a956 commit 77d9aae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/windows/installer/Salt-Minion-Setup.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ Section "MainSection" SEC01
SetOverwrite off
CreateDirectory $INSTDIR\conf\pki\minion
File /r "..\buildenv\"
Exec 'icacls c:\salt /inheritance:r /grant:r "BUILTIN\Administrators":(OI)(CI)F /grant:r "NT AUTHORITY\SYSTEM":(OI)(CI)F'
Exec 'icacls c:\salt /inheritance:r /grant:r "*S-1-5-32-544":(OI)(CI)F /grant:r "*S-1-5-18":(OI)(CI)F'

SectionEnd

Expand Down

0 comments on commit 77d9aae

Please sign in to comment.