Installer: Fix error on Windows when username contains a space (gitlab #367)

in fixperms.bat
This commit is contained in:
zzz
2022-09-28 09:17:44 -04:00
parent beaeb9c835
commit 0eb96d6ef0
2 changed files with 2 additions and 2 deletions

View File

@ -16,4 +16,4 @@
:: Specifying the SID will work on ALL versions of Windows.
:: List of well-known SIDs at http://support.microsoft.com/kb/243330/en-us
::
echo Y|icacls %1 /grant %username%:F /c /t /q > %1%\fixperms.log
echo Y|icacls %1 /grant "%username%":F /c /t /q > %1%\fixperms.log

View File

@ -15,4 +15,4 @@
:: Specifying the SID will work on ALL versions of Windows.
:: List of well-known SIDs at http://support.microsoft.com/kb/243330/en-us
::
echo Y|icacls %1 /grant:r %username%:F *S-1-5-32-545:RX /c /t /q > %1%\fixperms.log
echo Y|icacls %1 /grant:r "%username%":F *S-1-5-32-545:RX /c /t /q > %1%\fixperms.log