Re: Create List Of Folder User Permissions
- From: John John <audetweld@xxxxxxxxxxx>
- Date: Thu, 21 Dec 2006 20:52:33 -0400
You can do that with subinacl.
subinacl /noverbose /outputlog=c:\mytest.log /subdirec=directoriesonly C:\*.* /findsid="Some User Name"
You can also use the /testmode option to find the same type of information or to test the changes that would be made were you to replace or revoke the user permissions:
subinacl /outputlog=c:\mytest2.log /subdirec=directoriesonly C:\*.* /replace=SomeUser=SomeOtherUser /ifchangecontinue /noverbose /display /testmode
The utility can be used to change/add/replace remove and do all kinds of thing with permissions. And it can do it all in one fell swoop. The utility is available at Microsoft.com. The help file here http://www.analogduck.com/main/subinacl is the same as the one that ships with the utility but it's much easier to read.
http://www.microsoft.com/downloads/details.aspx?FamilyID=e8ba3e56-d8fe-4a91-93cf-ed6985e3927b&DisplayLang=en
http://search.technet.microsoft.com/search/default.aspx?__VIEWSTATE=&query=subinacl&siteid=1&tab=0&__EVENTVALIDATION=%2FwEWAwLj6ZGYAwLM2NutCQLz7vjkDfpIJoIZt96jNZ3QwUQNLlvEAAos
Note that most of the Microsoft ACL tools have some bug or other with inheritance. You might want to read here http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=105045&site_id=1#import or do more searching on the Microsoft site.
John
GMan wrote:
Hey All, previous sys admin had issues with assigning folder.
permissions to groups. His solution was to put user names in the folder
security tabs. We want to correct this with groups. Initial
investigation shows that usernames are embedded in multiple folders
throughout the entire share. Instead of going to each folder to find
who's there, is there a way or script to take a given username and
return a listing of all the folders where this user has been added to
the folder permissions tab?
Thx GMan
- Follow-Ups:
- Re: Create List Of Folder User Permissions
- From: Gordon
- Re: Create List Of Folder User Permissions
- References:
- Create List Of Folder User Permissions
- From: GMan
- Create List Of Folder User Permissions
- Prev by Date: Re: Script to list add all domain zones
- Next by Date: Robocopy error since migration 2000 -> 2003
- Previous by thread: Create List Of Folder User Permissions
- Next by thread: Re: Create List Of Folder User Permissions
- Index(es):
Relevant Pages
|