Click here to get back home

Tool/script to walk thru all folders/shares and identify non-inherited permissions

 HomeNewsGroups | Search | About
 microsoft.public.windows.server.security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Tool/script to walk thru all folders/shares and identify non-inherited permissions rcebolleto 01-05-2007
Posted by Jesper on January 6, 2007, 11:38 pm
Please log in for more thread options
I think you'll like it. icacls is quite promising. It is not as powerful as
subinacl in terms of the number of objects it operates on, but it has some
interesting features that are not found elsewhere, such as the ability to
propagate ACLs. You can also use it to dump the ACLs of a whole hierarchy to
a near-text file, which you can then grep for patterns, for instance.

"Roger Abell [MVP]" wrote:

> > Roger, have you tried icacls in Vista? It has a number of bugs in it, but
> > also shows some promise.
> >
>
> No I have not, at least that is not against what I find the most
> problematic, which is storage that has been existing since NT 4
> and so seen a few changes in ACE flag semantics.
> That is a good idea to test it out though, so I will watch for
> an opportunity.
>
> Roger
>
>
>
> > "Roger Abell [MVP]" wrote:
> >
> >> I have yet to find any scriptable tool that can reliably do the detection
> >> of inherited or not on storage that has had an arbitrary history.
> >>
> >> See thread begun December 20, 2006 1:47 PM with subject
> >> Enum only files/folders where explicit NTFS rights have been sette
> >> in microsoft.public.security
> >> for list of other tools that have been tried and found lacking
> >>
> >> > Hi guys
> >> >
> >> > Looking for an easy to use tool (prferably one that is scriptable)
> >> > which
> >> > can walk through all folders, shares (and all directory objects, too -
> >> > a
> >> > guy can wish can't he?) so that I can rapidly discover those files with
> >> > an
> >> > unknown/broken SID or explicitly granted permissions whcih are always
> >> > buried 3 folders deep in SYSVOL or docs&sets/administrator/localsetting
> >> > s/foo, which were put there because the previous admin needed to do a
> >> > quick workaround or just plain didn't appreciate what a pain it would
> >> > be
> >> > for the next guy to figure out where all these goodies are stashed.
> >> >
> >> > TreeSize Pro 4 sort of does this, but I don't know if it is scriptable,
> >> > and it just groups files by user (and lumps all nameless users under
> >> > one
> >> > big 'unknown' category) - it doesn't address the inheritance-explicit
> >> > permissions issue.
> >> >
> >> > Any ideas are welcome
> >> >
> >> > Rob
> >>
> >>
> >>
>
>
>

Posted by Jorge de Almeida Pinto [MVP - on January 7, 2007, 2:38 pm
Please log in for more thread options
have you tried:
http://www.gbordier.com/gbtools/fileacl.htm

--

Cheers,
(HOPEFULLY THIS INFORMATION HELPS YOU!)

# Jorge de Almeida Pinto # MVP Windows Server - Directory Services

BLOG (WEB-BASED)--> http://blogs.dirteam.com/blogs/jorge/default.aspx
BLOG (RSS-FEEDS)--> http://blogs.dirteam.com/blogs/jorge/rss.aspx
------------------------------------------------------------------------------------------
* How to ask a question --> http://support.microsoft.com/?id=555375
------------------------------------------------------------------------------------------
* This posting is provided "AS IS" with no warranties and confers no rights!
* Always test before implementing!
------------------------------------------------------------------------------------------
#################################################
#################################################
------------------------------------------------------------------------------------------
>I think you'll like it. icacls is quite promising. It is not as powerful as
> subinacl in terms of the number of objects it operates on, but it has some
> interesting features that are not found elsewhere, such as the ability to
> propagate ACLs. You can also use it to dump the ACLs of a whole hierarchy
> to
> a near-text file, which you can then grep for patterns, for instance.
>
> "Roger Abell [MVP]" wrote:
>
>> > Roger, have you tried icacls in Vista? It has a number of bugs in it,
>> > but
>> > also shows some promise.
>> >
>>
>> No I have not, at least that is not against what I find the most
>> problematic, which is storage that has been existing since NT 4
>> and so seen a few changes in ACE flag semantics.
>> That is a good idea to test it out though, so I will watch for
>> an opportunity.
>>
>> Roger
>>
>>
>>
>> > "Roger Abell [MVP]" wrote:
>> >
>> >> I have yet to find any scriptable tool that can reliably do the
>> >> detection
>> >> of inherited or not on storage that has had an arbitrary history.
>> >>
>> >> See thread begun December 20, 2006 1:47 PM with subject
>> >> Enum only files/folders where explicit NTFS rights have been sette
>> >> in microsoft.public.security
>> >> for list of other tools that have been tried and found lacking
>> >>
>> >> > Hi guys
>> >> >
>> >> > Looking for an easy to use tool (prferably one that is scriptable)
>> >> > which
>> >> > can walk through all folders, shares (and all directory objects,
>> >> > too -
>> >> > a
>> >> > guy can wish can't he?) so that I can rapidly discover those files
>> >> > with
>> >> > an
>> >> > unknown/broken SID or explicitly granted permissions whcih are
>> >> > always
>> >> > buried 3 folders deep in SYSVOL or
>> >> > docs&sets/administrator/localsetting
>> >> > s/foo, which were put there because the previous admin needed to do
>> >> > a
>> >> > quick workaround or just plain didn't appreciate what a pain it
>> >> > would
>> >> > be
>> >> > for the next guy to figure out where all these goodies are stashed.
>> >> >
>> >> > TreeSize Pro 4 sort of does this, but I don't know if it is
>> >> > scriptable,
>> >> > and it just groups files by user (and lumps all nameless users under
>> >> > one
>> >> > big 'unknown' category) - it doesn't address the
>> >> > inheritance-explicit
>> >> > permissions issue.
>> >> >
>> >> > Any ideas are welcome
>> >> >
>> >> > Rob
>> >>
>> >>
>> >>
>>
>>
>>



Posted by Jesper on January 7, 2007, 2:53 pm
Please log in for more thread options
Looks a fair bit like the old NTSec toolkit from Pedestal Software.
Unfortunately, they were bought out by Altiris, who subsequently killed that
product.


"Jorge de Almeida Pinto [MVP - DS]" wrote:

> have you tried:
> http://www.gbordier.com/gbtools/fileacl.htm
>
> --
>
> Cheers,
> (HOPEFULLY THIS INFORMATION HELPS YOU!)
>
> # Jorge de Almeida Pinto # MVP Windows Server - Directory Services
>
> BLOG (WEB-BASED)--> http://blogs.dirteam.com/blogs/jorge/default.aspx
> BLOG (RSS-FEEDS)--> http://blogs.dirteam.com/blogs/jorge/rss.aspx
>
------------------------------------------------------------------------------------------
> * How to ask a question --> http://support.microsoft.com/?id=555375
>
------------------------------------------------------------------------------------------
> * This posting is provided "AS IS" with no warranties and confers no rights!
> * Always test before implementing!
>
------------------------------------------------------------------------------------------
> #################################################
> #################################################
>
------------------------------------------------------------------------------------------
> >I think you'll like it. icacls is quite promising. It is not as powerful as
> > subinacl in terms of the number of objects it operates on, but it has some
> > interesting features that are not found elsewhere, such as the ability to
> > propagate ACLs. You can also use it to dump the ACLs of a whole hierarchy
> > to
> > a near-text file, which you can then grep for patterns, for instance.
> >
> > "Roger Abell [MVP]" wrote:
> >
> >> > Roger, have you tried icacls in Vista? It has a number of bugs in it,
> >> > but
> >> > also shows some promise.
> >> >
> >>
> >> No I have not, at least that is not against what I find the most
> >> problematic, which is storage that has been existing since NT 4
> >> and so seen a few changes in ACE flag semantics.
> >> That is a good idea to test it out though, so I will watch for
> >> an opportunity.
> >>
> >> Roger
> >>
> >>
> >>
> >> > "Roger Abell [MVP]" wrote:
> >> >
> >> >> I have yet to find any scriptable tool that can reliably do the
> >> >> detection
> >> >> of inherited or not on storage that has had an arbitrary history.
> >> >>
> >> >> See thread begun December 20, 2006 1:47 PM with subject
> >> >> Enum only files/folders where explicit NTFS rights have been sette
> >> >> in microsoft.public.security
> >> >> for list of other tools that have been tried and found lacking
> >> >>
> >> >> > Hi guys
> >> >> >
> >> >> > Looking for an easy to use tool (prferably one that is scriptable)
> >> >> > which
> >> >> > can walk through all folders, shares (and all directory objects,
> >> >> > too -
> >> >> > a
> >> >> > guy can wish can't he?) so that I can rapidly discover those files
> >> >> > with
> >> >> > an
> >> >> > unknown/broken SID or explicitly granted permissions whcih are
> >> >> > always
> >> >> > buried 3 folders deep in SYSVOL or
> >> >> > docs&sets/administrator/localsetting
> >> >> > s/foo, which were put there because the previous admin needed to do
> >> >> > a
> >> >> > quick workaround or just plain didn't appreciate what a pain it
> >> >> > would
> >> >> > be
> >> >> > for the next guy to figure out where all these goodies are stashed.
> >> >> >
> >> >> > TreeSize Pro 4 sort of does this, but I don't know if it is
> >> >> > scriptable,
> >> >> > and it just groups files by user (and lumps all nameless users under
> >> >> > one
> >> >> > big 'unknown' category) - it doesn't address the
> >> >> > inheritance-explicit
> >> >> > permissions issue.
> >> >> >
> >> >> > Any ideas are welcome
> >> >> >
> >> >> > Rob
> >> >>
> >> >>
> >> >>
> >>
> >>
> >>
>
>
>

Similar ThreadsPosted
ntfs permissions, ownership, adding permissions January 13, 2006, 2:03 pm
Share permissions conflicting with NTFS permissions May 18, 2006, 1:16 pm
Permissions December 8, 2005, 2:09 pm
IIS permissions January 24, 2006, 6:50 pm
Permissions July 13, 2006, 5:09 pm
Permissions August 11, 2006, 12:29 pm
How should I do this? February 26, 2008, 3:29 am
COM+ Permissions February 29, 2008, 11:22 am
c:\ drive permissions June 23, 2005, 5:10 pm
Folders and permissions September 29, 2005, 5:35 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap