📎 AI Summary:
The user "pstein" inquires about using CACLS or ICACLS to identify files or folders within a directory tree whose owners match or do not match the pattern "aaa." "Saltgrass" suggests consulting the command help via "/?" to find appropriate options, while "zvit" briefly mentions "cacls" and modifying access controls. The thread reflects an attempted solution to a permission and ownership query, with participants providing guidance on command-line tools and options.

pstein

Extraordinary Member
Joined
Mar 20, 2010
Messages
454
Thread Author #1
1.) How can I find out EXACTLY (presumably with with CACLS or ICACLS) all files or folders in a directory tree which have an owner which contains the pattern "aaa"?

2.) How can I find out EXACTLY (presumably with CACLS or ICACLS) all files or folders in a directory tree which have NOT an owner which contains the pattern "aaa"?

I see as owner all entries on the "Security" tab of the Properties page of a file/folder

Peter
 

Saltgrass

Excellent Member
Microsoft Community Contributor
Joined
Oct 16, 2009
Messages
15,152
Since no one seems to know, perhaps if you open an administrative command prompt and type the command followed by /? you can go through the possible switches to see if any of them fit your needs.