windows.rst
changeset 2174 8e8a16e1c5b3
parent 2167 3776d3119764
child 2186 b3653de0f03e
equal deleted inserted replaced
2173:69aed373ceb9 2174:8e8a16e1c5b3
   516 Remove all permissons from file (first reset to inherited, then remove inherited)::
   516 Remove all permissons from file (first reset to inherited, then remove inherited)::
   517 
   517 
   518   cmd> icacls %FILE% /reset
   518   cmd> icacls %FILE% /reset
   519   cmd> icacls %FILE% /inheritance:r
   519   cmd> icacls %FILE% /inheritance:r
   520 
   520 
       
   521 Read file attributes::
       
   522 
       
   523   cmd> attrib %FILE%
       
   524 
       
   525 Set/remove attributes (``/s`` - recursive)::
       
   526 
       
   527   cmd> attrib +r -h %DIR% /s
       
   528 
   521 https://technet.microsoft.com/en-us/library/cc753525.aspx
   529 https://technet.microsoft.com/en-us/library/cc753525.aspx
   522   Icacls.
   530   Icacls.
   523 http://support.microsoft.com/kb/919240
   531 http://support.microsoft.com/kb/919240
   524   The ``Icacls.exe`` utility is available for Windows Server 2003 with Service Pack 2.
   532   The ``Icacls.exe`` utility is available for Windows Server 2003 with Service Pack 2.
   525 https://technet.microsoft.com/en-us/library/2009.07.geekofalltrades.aspx
   533 https://technet.microsoft.com/en-us/library/2009.07.geekofalltrades.aspx
   526   Geek of all Trades Setting Permissions from the Command Line.
   534   Geek of all Trades Setting Permissions from the Command Line.
       
   535 https://technet.microsoft.com/en-us/library/bb490868.aspx
       
   536   Attrib utility.
   527 
   537 
   528 User management
   538 User management
   529 ===============
   539 ===============
   530 
   540 
   531 List available users::
   541 List available users::