It depends a bit on how you want to present the information.
Would that be in a CSV ?
For the folder creation part, you could use the import function from the thread you pointed to.
For the permissions you could add this to the same CSV or create a separate CSV.
To avoid data duplication a separate CSV would be preferable.