windows.rst
changeset 1043 3785e14cca53
parent 999 dc74e11a1686
child 1071 d06823550de7
equal deleted inserted replaced
1042:dd197cbdaf21 1043:3785e14cca53
   432  * /l - Performs the operation on a symbolic link versus its destination.
   432  * /l - Performs the operation on a symbolic link versus its destination.
   433  * /q - Suppresses success messages.
   433  * /q - Suppresses success messages.
   434 
   434 
   435 Recursively change the owner of all matching files to the specified user::
   435 Recursively change the owner of all matching files to the specified user::
   436 
   436 
   437   cmd> icacls /setowner %user% /t /c
   437   cmd> icacls %dir% /setowner %user% /t /c
   438 
   438 
   439 Recursively grand full access for everyone::
   439 Recursively grand full access for everyone::
   440 
   440 
   441   cmd> icacls %dir% /t /grant:r %user%:(f)
   441   cmd> icacls %dir% /t /grant:r %user%:(f)
   442   cmd> icacls %dir% /t /grant:r *S-1-1-0:(f)
   442   cmd> icacls %dir% /t /grant:r *S-1-1-0:(f)