[TriLUG] serial port permissions

Morris Walton mwalton at nc.rr.com
Wed Feb 12 13:39:44 EST 2003


That's it.  Thanks.

> -----Original Message-----
> From: trilug-admin at trilug.org [mailto:trilug-admin at trilug.org] On
Behalf
> Of Ed Hill
> Sent: Wednesday, February 12, 2003 10:03 AM
> To: TriLUG
> Subject: Re: [TriLUG] serial port permissions
> 
> On Wed, 2003-02-12 at 06:04, Morris Walton wrote:
> > Hi,
> >
> > I have a program that uses the serial port.  If I run the serial
port at
> > user level, it can't access the port, but at root level it can.  How
can
> > I change the permissions to allow me to run my program in user mode?
> 
> 
> Try:
> 
>   chmod a+rw /dev/ttyS[0-5]
> 
> and then
> 
>   setserial -g /dev/ttyS[0-5]
> 
> to see which ones are active.
> 
> hth,
> Ed
> 
> --
> Edward H. Hill III, PhD
> Post-Doctoral Researcher   |  Email:  ed at eh3.com,  ehill at mines.edu
> Division of ESE            |  URLs:   http://www.eh3.com
> Colorado School of Mines   |    http://cesep.mines.edu/people/hill.htm
> Golden, CO  80401          |  Phones:  303-384-2094, 303-273-3483




More information about the TriLUG mailing list