initial commit for #3081 macos pkg permissions