Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is there a permissions reporting utility?

Status
Not open for further replies.

RCPD700

MIS
Jun 20, 2001
75
US
I'm setting up a new set of directories and groups on an NT 4.0 server and would like to be able to easily review all the permissions I have set. Is there any tool that will produce a report showing the groups, users and permissions for a directory and its sub-directories? It sure would save some time.

Thanks in advance
 
you could try the cacls command - pipe it to a text file for hard copy (format may not suit you) - eg cacls c:\*.* > perms.txt.
 
Using the cacls command as shown below gives me only the two lines of output shown:

Command:
cacls e:\Prod\*.*

Output:
e:\Prod\AccessDB BUILTIN\Administrators:F
BUILTIN\Administrators:(OI)(CI)(IO)F
e:\Prod\Justice BUILTIN\Administrators:F
BUILTIN\Administrators:(OI)(CI)(IO)F

There are 7 directories in the e:\Prod\AccessDB branch with 11 groups having permissions to each subdirectory along the way... none of which is displayed regardless of how I form the command. The second branch has 21 subdirectories with permissions for the same 11 groups.

Seems to me there must be a better way. I was hoping they would have allowed a /s switch to indicate all subdirectories be processed as well, but not so.

Any other ideas?
 
hi,

There is another utility which is replcement for cacls is "xcacls" this works same as cacls.

try to give the cammnd as

xcacls c:\mydirectory\*.* /T >output.txt

OR

cacls c:\mydirectory\*.* /T >output.txt

this will give you the result what you want.I.E permissions on subdirectories also.

HTH Aslam
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top