I recently moved over to udev and things went pretty smoothly. I do have a few questions, though and was wondering if anyone could offer some help.
My scanner will only seem to work for root. This is a permissions problem. To get the scanner to work for everyone, I need to adjust the permissions. If I change the file /proc/bus/usb/002/002 to give more permissions with the command.
chmod 777 /proc/bus/usb/002/002
The scanner will work. I'm sure that I can get away with more restrictive permissions, but I'll experiment with that later. The problem is that when I re-boot, the permissions for /proc/bus/usb/002/002 revert back to 644.
Now I could change the permissions every time I want to use the scanner. I could even add to /etc/rc.d/rc.local to make the change happen after every reboot. My guess is that this is probably not the correct way to go about it. What is the recommended method?
My second question is very similar. Using udev, the /dev directory is automatically populated at boot time. I have a dvd-rom and a cd-rw. The dvd-rom is /dev/hdd and the cd-rw is /dev/hdc. Two symlinks are made when I re-boot, /dev/dvd and /dev/cdrom. Both point to /dev/hdd. I would like /dev/cdrom to point to /dev/hdc. Of course, I can manually change the link or add to /etc/rc.d/rc.local to acheive this, but once again I don't think that this is the preferred method. Any ideas on this.
As a side note, moving on to udev has been pretty smooth. Had to change my fstab a bit as some of the symlinks I was using aren't created. Had to add audio, video, and cdrom groups to /etc/groups. SWareT helped out with that. Had to add users to the appropriate groups to get everything running smooth. The only issue that I currently have, other than those listed, is that when I mount /dev/hdc or /dev/hdd, they appear on my desktop as hard drives and not optical devices. Any ideas on fixing that would be great, too.
Thanks in advance for your help,