*BSD News Article 69350


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!news.ysu.edu!news.cps.udayton.edu!news.engr.udayton.edu!blackbird.afit.af.mil!zombie.ncsc.mil!news.mathworks.com!tank.news.pipex.net!pipex!netcom.net.uk!netcom.com!rll
From: rll@netcom.com (Richard L. Lamb)
Subject: Permission denied on /dev/cuaa1 using Kermit
Message-ID: <rllDrx0tB.HsM@netcom.com>
Organization: Netcom Online Communications Services (408-241-9760 login: guest)
Date: Fri, 24 May 1996 15:10:23 GMT
Lines: 15
Sender: rll@netcom20.netcom.com

I feel really silly having to ask this, but can't figure it out myself.

I just installed Kermit from the ports collection, but when I try to use
it I get "/dev/cuaa1: Permission denied" unless I'm logged in as root.
The permissions are:

crw-rw---- 1 uucp  dialer     /dev/cuaa1
-r-xr-sr-x 1 bin   dialer     /usr/local/bin/kermit

Now, it's a single user system, so I can work around it by changing cuaa1
to mode 666, but is that the "right" way?  And why doesn't the setgid
dialer on kermit allow use of the serial port? 

Thanks,
Richard Lamb