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.