Query regarding icacls


hi

i have found testing , subsequent searches on net icacls doesn't have functionality xcacls has regards being able replace permissions on folder.

ie xcacls . /t /g users:r administrators:f system:f

after running above command users read(list & execute), administrators- full, , system - full , there no other accounts.

i can't seem able icacls in 1 step. have go through below steps

1. remove inheritance

2. remove access accounts listed, don't want

3. remove unwanted access accounts want

4. add additional accounts , access want.

 

i hope, doing wrong...because if i'm not massive step in functionality.

i want able set access on folder in 1 command, without having know set.

i starting hate icacls. god hope doing long way.

hopefully has worked out how fast way , share :)

thanks

nyobi

i think have sussed.

"d:\media" /inheritance:r /grant users:(m) system:(oi)(ci)(f) administrators:(oi)(ci)(f) /t

this seems doing job



Windows Server  >  File Services and Storage



Comments

Popular posts from this blog

some help on Event 540

WMI Repository 4GB limit - Win 2003 Ent Question

Event ID 1302 (error 1307) DFS replication service encountered an error while writing to the debug log file