forked from I2P_Developers/i2p.i2p
Installer: Fix error on Windows when username contains a space (gitlab #367)
in fixperms.bat
This commit is contained in:
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user