blake Posted July 30, 2009 Posted July 30, 2009 Also put this on Technet, but here goesI've tried all combinations of flags I can think of and cannot get XCACLS.vbs doing what I want, let me explain...What I am wanting to do is traverse all subdirectories and add a group to folders only, as I am going to make the assumption that files are not blocking inheritance and so do not require anything explicit on their ACL. This is mainly to save time and disk writes due to the huge volume of folders I'm planning on running the script against.My latest attempt is (powershell):>> cscript XCACLS.vbs $fpath /S /T /E /G $($group+":;LC") /L xcacls.log /DEBUGDoes anyone have any ideas?Thanks in advanceBlake
cluberti Posted July 30, 2009 Posted July 30, 2009 I don't know if xcacls can do just folders, as the /T option does folders *and* files. I believe you would be looking for a tool to go above and beyond the Windows tools, like Security Explorer, which can do this sort of thing.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now