Ensure yaml factfile has the correct permissions.