windows.rst
changeset 995 cbbd5041b0ed
parent 994 ead439eec6e1
child 996 bc510bb02ba6
equal deleted inserted replaced
994:ead439eec6e1 995:cbbd5041b0ed
   427  * /l - Performs the operation on a symbolic link versus its destination.
   427  * /l - Performs the operation on a symbolic link versus its destination.
   428  * /q - Suppresses success messages.
   428  * /q - Suppresses success messages.
   429 
   429 
   430 Recursively change the owner of all matching files to the specified user::
   430 Recursively change the owner of all matching files to the specified user::
   431 
   431 
   432   cmd> icacls /setowner <Username> /t /c
   432   cmd> icacls /setowner %user% /t /c
   433 
   433 
   434 Recursively grand full access for everyone::
   434 Recursively grand full access for everyone::
   435 
   435 
       
   436   cmd> icacls %dir% /t /grant:r %user%:(f)
   436   cmd> icacls %dir% /t /grant:r *S-1-1-0:(f)
   437   cmd> icacls %dir% /t /grant:r *S-1-1-0:(f)
   437 
   438 
   438 Well-known security identifiers (SID).
   439 Well-known security identifiers (SID).
   439 ======================================
   440 ======================================
   440 
   441