Capture and fix default permissions not being picked up.
Fix whitespace.