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
Post a Comment