I have a gamepad that I am interested in using with the Pi. When I plug it into my development laptop running Lubuntu 13.04, I get the following:
418476 crw-rw-r--+ 1 root root 13, 0 Oct 12 22:55 js0
However, when I plug the same gamepad into the Pi, I get this:
5188 crw-rw---T 1 root input 13, 0 Oct 13 06:01 js0
I am able to both change the group of the device and the permissions, but whenever the gamepad is unplugged and then reinserted it defaults back to what is shown above. How do I preserve permissions for a device file after it has been removed?