[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can I convert 2mg to real IIgs 3.5" disk on my Mac?



iseign wrote:
> When I try to run ADTPro Server on my Mac, using Keyspan USB to Serial
> adapter for serial connection to IIgs, after following all instructions
> for installation, I got this message:
>
> "Selected port is in use."

Ah yes, on OSX you need to run a little script to fix permissions on
the port.  I neglected to add it to the distribution (next drop will
have it):

!/bin/sh #
curruser=`sudo id -p | grep 'login' | sed 's/login.//'`
echo $curruser

if [ ! -d /var/lock ]
then
sudo mkdir /var/lock
fi

sudo chgrp uucp /var/lock
sudo chmod 775 /var/lock
if [ ! `sudo niutil -readprop / /groups/uucp users | grep $curruser
> /dev/null` ]
then
sudo niutil -mergeprop / /groups/uucp users $curruser
fi
exit 0;