Ticket 49899 - fix pin.txt and pwdfile permissions
Bug Description: On unix, user and group permissions are basically
the same, because users always have a primary group. However, best
practice ignores this, and states everything should be user
owned only if security sensitive.
Fix Description: Make pin.txt and pwdfile user only owned to prevent
disclosure (in limited circumstances, this is little more than
a compliance step).
Author: William Brown <firstname.lastname@example.org>
Review by: tbordaz, mhonek (Thanks)