I have a Kopete plug-in that tries to blink my Thinkpad light when I have a new incoming message. To accomplish this it uses a /proc virtual file provided by the thinkpad-acpi kernel module, situated in /proc/acpi/ibm/light. When I try to echo "on" or "off" in that file as a superuser, the light becomes on or off as expected, but Kopete is always executed by unprivileged users. Now, I can chmod that file but upon reboot everything is reset to the original state in /proc (as it should be).
I could make an init script that changes permission on that file on boot, but I'm asking if this is the way to go, or there are most proper ways to do this (perhaps through udev or sysctl.conf?)
Thanks.