Subject: RE: can't seem to talk to modem...
To: <>
From: None <mcmahill@mtl.mit.edu>
List: port-sparc
Date: 06/25/1999 09:03:00
On Fri, 25 Jun 1999, Steven Grunza wrote:

> On Friday, June 25, 1999 12:53 AM, Alfred Perlstein 
> [SMTP:bright@rush.net] wrote:
> > On Thu, 24 Jun 1999 mcmahill@mtl.mit.edu wrote:
> >
> > > cowboy-burt# cu --parity=none --line /dev/ttya --speed 9600 --
> > > debug all
> > > cu: open (/dev/ttya): Permission denied
> > > cu: /dev/ttya: Line in use
> > >
> > > cowboy-burt# ls -l /dev/ttya
> > > crw-------  1 root  wheel  12, 0 Jun 24 16:20 /dev/ttya
> > >
> > > cowboy-burt# cat /etc/ttys | grep ttya
> > > ttya    "/usr/libexec/getty std.9600"   unknown off secure
> > >
> > >

> > cu is setgid dialer and setuid uucp, basically by running it
> > you loose the ability to open the port :)
> >
> > For some reason I just can't for the life of me remeber how
> > to solve this problem....
> >

> If this is a personal machine (no one else using it), I would make 
> ttya rw for everyone (chmod 666 /dev/ttya).
> 
> So far as the Line in use message, that may be caused by cu 
> interpretting the unavailability of /dev/ttya as being caused by 
> someone already having it open.


yep.  It was a permissions issue.  Didn't even think to check and see that
'cu' was setuid.

Thanks

-Dan