changeset 995 | cbbd5041b0ed |
parent 994 | ead439eec6e1 |
child 996 | bc510bb02ba6 |
--- a/windows.rst Fri Sep 16 01:49:10 2011 +0300 +++ b/windows.rst Fri Sep 16 01:50:19 2011 +0300 @@ -429,10 +429,11 @@ Recursively change the owner of all matching files to the specified user:: - cmd> icacls /setowner <Username> /t /c + cmd> icacls /setowner %user% /t /c Recursively grand full access for everyone:: + cmd> icacls %dir% /t /grant:r %user%:(f) cmd> icacls %dir% /t /grant:r *S-1-1-0:(f) Well-known security identifiers (SID).