This is a dupe from SuperUser.com . Folks over there weren t smart enough or willing to help me out; maybe it s more a programmer question than an administrator one:
I have an app that reads input from 4 (four) mice that are plugged in via USB in addition to the built-in touchpad. This is no problem for Ubuntu 9.10: hald notices the new devices and udev s them brand new entries called /dev/input/mouse4
... mouse7
.
My app runs as a normal user app. The files in /dev
belong to root
and aren t readable to anyone else.
I don t have a problem doing chmod a+r mouse?
once, but the devices come and go with every reboot and every time the dang rodents are plugged in or out.
Can someone please tell me a script or something to manipulate so my chmod
happens automagically?