Fixing permissions on passphrase for upgrades