Jana Sattainathan shows how to manage file permissions via Powershell:
Let us say ModelFile.txt has the right permissions and MessedUpFile.txt had certain permissions missing. The easiest way to copy the permissions from the former to the latter is using the PowerShell *ACL* (Access Control List) commands.
But Jana has us covered in other situations as well, so read the whole thing.