[sllug-members]: udev question

Robert Lewis rll at felton.felton.ca.us
Thu Dec 21 10:28:13 MST 2006


I apologize in advance for not rereading the udev man pages
another few times. I have now read it 3 or 4 times but still
unclear how to do something I wish to do.

I have an internal modem that uses /dev/ttyS1

It comes up with preset permissions and ownership.

I want the /dev/ttyS1 to end up with permissions of
666 and perhaps owned by uucp and group uucp although
that is less important.  The defaults are root:uucp
with permissions of 640.  I also want modem1 to be
a symbolic link to ttyS1.

I went into /lib/udev/devices and created the following:
1) made sure that ttyS1 looked like:
   crw-rw-rw- 1 uucp uucp   4,  65 Nov 25 04:17 ttyS1

2) created the modem1 symbolic link:
   lrwxrwxrwx 1 root root 5 Dec 20 10:50 modem1 -> ttyS1

After a reboot /dev does get the symbol link.  However, tyS1
looks like:
crw-rw---- 1 root uucp 4, 65 Dec 21 08:39 ttyS1

What is the best way to open up permissions on this one device
that will stick through a reboot?

Cheers,
Bob


More information about the sllug-members mailing list