Revert "Fixes #5246: Remove group permissions on generated promises with chmod"

This reverts commit edc45266c4e41ced760eac5f4b75762d5603d6e5.