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).
https://pagure.io/389-ds-base/issue/49899
Author: William Brown <william@blackhats.net.au>
Review by: tbordaz, mhonek (Thanks)