modem works as superuser but not under reular user

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Michael Havens
Date:  
Subject: modem works as superuser but not under reular user
How would I go about getting it to run as non-root?=20
This is what I did to get it operational=20
~~=20
 cd /dev; test -c ttyS4 || /MAKEDEV ttyS4; chmod 666 /dev/ttyS4=20
 setserial /dev/ttyS4 uart 16550A port (?) IRQ 9=20
 baud_base 115200 spd_vhi skip_test=20
 ln -sf /dev/ttyS4 /dev/modem=20
~~=20
Should I make ttyS4 777; or can links have permissions as well?=20
~~=20
root@bmike1:~# ls -l /dev/modem=20
lrwxrwxrwx    1 root     root           10 Aug 14 15:09 /dev/modem -> /dev/t=
tyS4=20
root@bmike1:~#=20
~~=20
Never mind the link already has unrestricted access=2E=20
So what do I need to do?=20
=20
I just listed out the directory of ttyS4 and this is what it says:=20
root@bmike1:~# ls -l /dev/ttyS4=20
crw-r--r--    1 root     dialout    4,  68 Aug 14 15:53 /dev/ttyS4=20
root@bmike1:~=20
=20
Should I chmod it?=20
I believe that currently that mode is 711=2E Am I correct? Is there such a s=
etting as 700 (as in rwx------)? If=20
that is so that means there is also 000 (no permission for anyone)=2E Or is =
the lowest you can go 111?=20
:-)Mike(-:=20