Home > Uncategorized > Software: NTFS permission reporter, and some more tools

Software: NTFS permission reporter, and some more tools

I came across a post on AddictiveTips for a program that produces reports for NTFS permissions in a tree. This is quite useful, as previously I was using a self-made procedure relying on cacls.

It appears that the developer has many more Windows sys admin tools available for download and/or purchase.

split may be useful to you, as well as the following to take the output of an HTML report from version 1.0 and make it into a CSV (not perfect, but close):

cat "NTFS Permissions Report.html" | sed "s/<td valign=\"top\" nowrap=\"nowrap\">/,/g" | sed -e :a -e "$!N;s/<\/td>\n/,/;ta" | sed "s/<tr bgcolor=\"#DDEEFF\">//g" | sed "s/<\/tr>//g" | sed "s/<tr >//g" > "NTFS Permissions Report.csv" && split --numeric-suffixes --lines=65534 "NTFS Permissions Report.csv" "partial_report" && rename partial_report* partialreport*.csv

Partner these reports with TortoiseHg and you’ve got yourself a good change log for permissions changes.

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: