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: Marcia Wilbur
Date:  
Subject: modem works as superuser but not under reular user
change the group of the /dev/ttyS4 to modem.
Put your username in the modem group.

chmod 660 /dev/ttyS4

(permissions be rw for owners and rw for group)

links do not override their source permissions. /dev/modem no matter what
you did would not provide write permissions. However a link may be
used to block permissions to a file but not to add.

-m

On Thu, 14 Aug 2003, Michael Havens wrote:

> How would I go about getting it to run as non-root?
> This is what I did to get it operational
> ~~
>  cd /dev; test -c ttyS4 || /MAKEDEV ttyS4; chmod 666 /dev/ttyS4
>  setserial /dev/ttyS4 uart 16550A port (?) IRQ 9
>  baud_base 115200 spd_vhi skip_test
>  ln -sf /dev/ttyS4 /dev/modem
> ~~
> Should I make ttyS4 777; or can links have permissions as well?
> ~~
> root@bmike1:~# ls -l /dev/modem
> lrwxrwxrwx    1 root     root           10 Aug 14 15:09 /dev/modem -> /dev/ttyS4
> root@bmike1:~#
> ~~
> Never mind the link already has unrestricted access.
> So what do I need to do?

>
> I just listed out the directory of ttyS4 and this is what it says:
> root@bmike1:~# ls -l /dev/ttyS4
> crw-r--r--    1 root     dialout    4,  68 Aug 14 15:53 /dev/ttyS4
> root@bmike1:~

>
> Should I chmod it?
> I believe that currently that mode is 711. Am I correct? Is there such a setting as 700 (as in rwx------)? If
> that is so that means there is also 000 (no permission for anyone). Or is the lowest you can go 111?
> :-)Mike(-:
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
>