Private key permissions
Added error message