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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to do a dump of permissions on dirs and sub-dirs 1

Status
Not open for further replies.

ColdFlame

Technical User
Jul 24, 2007
48
CA
Hey all,

I've been trying to do this for sometime, and I'm curious if anybody knows of an easy way to dump the permissions out to a readable format so that I can see what permissions are being applied on a directory and all its subdirectories. When we were running Novell we could see this easily, but since switching to Windows 2003, I seem to have lost that ability (or don't know how...).

Any suggestions or thoughts would be greatly appreciated!

Regards,

ColdFlame
 
Here's a one liner... Run from a command prompt at the root directory of the tree you want to audit.

for /F "delims=;" %a in ('dir /ad /b /s') do @icacls "%a"

BTW... you'll probably want to pipe the output to a text file since the results will be very long.

PSC

Governments and corporations need people like you and me. We are samurai. The keyboard cowboys. And all those other people out there who have no idea what's going on are the cattle. Mooo! --Mr. The Plague, from the movie "Hackers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top