fix perms on private key