[TriLUG] serial port permissions

Ed Hill ed at eh3.com
Wed Feb 12 10:03:07 EST 2003


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://www.trilug.org/pipermail/trilug/attachments/20030212/e5957ba1/attachment.pgp>


More information about the TriLUG mailing list