forked from I2P_Developers/i2p.i2p
For new installs, change owner rather than giving 'F' permission to Users group For existing installs, change owner and change 'F' permission to 'RX' for Users group Local privilege escalation vulnerability Introduced 2009-06-11, released in 0.7.5 2009-06-29 Reported by Juilo Cesar Fort of Blaze Information Security 2020-04-28
20 lines
720 B
Batchfile
20 lines
720 B
Batchfile
:: Fix Vista permission problems
|
|
:: From http://www.nabble.com/Classpath-security-issues-on-Vista-td22456230.html
|
|
::
|
|
:: 'echo Y' to get past the 'are you sure' question...
|
|
:: cacls requires it on XP, icacls doesnt appear so, but can't hurt
|
|
:: F : full control
|
|
:: /c : continue on error
|
|
:: /q : quiet
|
|
:: /t : recursive
|
|
::
|
|
:: Note: We should not use the group name "Users" since this group will not
|
|
:: exist on non-English versions of Windows.
|
|
::
|
|
:: S-1-5-32-545 = Users (en). Benutzer (de), etc.
|
|
::
|
|
:: 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
|