This script will need to be placed in the same location as the files you would like to find the permission for.
It will export all ownership permissions in folders recursively
It will export a file called generated_report.txt in the same location it is run