1 reply
by joseph moore
Well, you can use XCACLS.EXE from the Resource Kit to modify security (NTFS) permissions.
You can't just specify a CSV for it to run against; you have to specify what and who and what kind of permissions, but it does take wildcards.
For example, if you had a directory d:\home with 4 sub-directories, A, B, C, D, you could set up in a single BAT file to specify who gets what permissions per folder. YOu could then go into the folders with wildcards to hit anything in them also. Like this:
xcacls d:\home\a /T /G USERA:F /C /Y
xcacls d:\home\b /T /G USERB:C /C /Y
xcacls d:\home\c /T /G USERC:RW /C /Y
xcacls d:\home\d /T /G USERD:D /C /Y
So, that would give user A Full Control to directory A and all subdirectories. UserB has Change to B directory and subdirectories; UserC has read/write to directory C; and user D has delete to directory D. None of them have rights to any of the other folders.
You can append rights to folders/files, and even Revoke user rights to stuff.
Hope this helps.
This discussion is closed to new replies.
Trending Windows Forum posts
Sort by Trending