Categories
Uncategorized

SSHKeyChain install fix

I like SSHKeychain. I’ve used it for a long time. However, I recently tried to install it and noticed that it kept blowing up in the post-install phase. Having quick look at the installer, I saw this:

% cd /Volumes/SSHKeychain 
% cat SSHKeychain.pkg/Contents/Resources/postinstall 
#!/bin/sh
chown -R $USER:$USER "$2/SSHKeychain.app"
#chown root:admin "$2/SSHKeychain.app/Contents/Resources/TunnelRunner"
#chmod u+s "$2/SSHKeychain.app/Contents/Resources/TunnelRunner"

It assumes you have a group named after you. This is not the case for me. Now, I could copy the package to a read-write location, and edit the postinstall script to fix this.

However, it turns out the failure in postinstall means the package still installed OK. So, it’s easy to fix the failure by manually chown(1)ing at the command line.

% sudo chown -R $LOGNAME /Applications/SSHKeychain.app
Password:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s