changing permissions of modules to 0644
Merge remote-tracking branch 'berendt/fixing_permissions' into pull_4703
Merge pull request #6043 from risaacson/pull_4703

I had to remerge this as the original would not automerge. #4703